added disabling of cullfaces to obtaing a correct visualization of arrows
This commit is contained in:
parent
5ce9f028b7
commit
a5128f71e3
|
@ -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 :
|
||||
|
|
Loading…
Reference in New Issue