X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=src%2Fmain.cc;h=0c5561c47e5409deb5d2cc67b2827d08f3a8bb32;hb=6b45c2616846baac800c41b55a0993c75368e3fb;hp=9720723ffbbc40dbfd9eb314af4dc349201d6b07;hpb=a8a7d557cf22c2bf16eb333d33a6c7c68f532482;p=hair diff --git a/src/main.cc b/src/main.cc index 9720723..0c5561c 100644 --- a/src/main.cc +++ b/src/main.cc @@ -129,6 +129,7 @@ static void cleanup() for(size_t i=0; idraw(); + if(!meshes[i]->mtl.tex || meshes[i]->mtl.tex_opaque) + meshes[i]->draw(); + } + for(size_t i=0; imtl.tex && !meshes[i]->mtl.tex_opaque) + meshes[i]->draw(); } /* glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); @@ -194,7 +200,7 @@ static void display() glPopAttrib(); */ float plane[4] = { - 0, 0, 0.5 / 350, 0.5 + 0, 0, 0.5 / 350, 0.5 }; glPushMatrix();