added disabling of cullfaces to obtaing a correct visualization of arrows

This commit is contained in:
Nico Pietroni 2005-03-03 13:29:35 +00:00
parent 5ce9f028b7
commit a5128f71e3
1 changed files with 2 additions and 0 deletions

View File

@ -60,11 +60,13 @@ namespace vcg
case DMUser :
break;
case DMWire :
glDisable(GL_CULL_FACE);
glDisable(GL_LIGHTING);
glDisable(GL_NORMALIZE);
glPolygonMode(GL_FRONT_AND_BACK,GL_LINE);
break;
case DMSolid :
glDisable(GL_CULL_FACE);
glPolygonMode(GL_FRONT,GL_FILL);
break;
default :