changed draw in flatwire....

This commit is contained in:
Nico Pietroni 2004-07-08 08:41:31 +00:00
parent cc537cd0dc
commit d4af2821e3
1 changed files with 3 additions and 2 deletions

View File

@ -86,7 +86,7 @@ void _DrawFlatWire(){
glDisable(GL_LIGHTING); glDisable(GL_LIGHTING);
glColor3f(0.0,0.0,0.0); glColor3f(0.0,0.0,0.0);
glDepthRange(0.0,0.999); glDepthRange(0.0,0.999);
Draw<DMWire,nm,cm>(); Draw<DMHidden,nm,cm>();
glPopAttrib(); glPopAttrib();
} }
@ -122,7 +122,8 @@ void _DrawTetra(TetraType &t)
{ {
if(!(t.IsD())) if(!(t.IsD()))
{ {
_ChooseColorTetra<cm>(t); if ((dm!=DMWire)&&(dm!=DMHidden))
_ChooseColorTetra<cm>(t);
for(int i = 0; i < 4; ++i){ for(int i = 0; i < 4; ++i){
if (dm == DMWire) if (dm == DMWire)
_DrawFace<cm>(t,i); _DrawFace<cm>(t,i);