#define GLUT_SKIP_STALE_MOTION_EVENTS 0x0204
-#define GLUT_OBJECTS_VISUALIZE_NORMALS 0x0205
+#define GLUT_GEOMETRY_VISUALIZE_NORMALS 0x0205
/*
* New tokens for glutInitDisplayMode.
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
- glutSetOption(GLUT_OBJECTS_VISUALIZE_NORMALS,visNormals); /* Normals visualized or not? */
+ glutSetOption(GLUT_GEOMETRY_VISUALIZE_NORMALS,visNormals); /* Normals visualized or not? */
if (useShader && !shaderReady)
initShader();
fgState.SkipStaleMotion = value;
break;
- case GLUT_OBJECTS_VISUALIZE_NORMALS:
+ case GLUT_GEOMETRY_VISUALIZE_NORMALS:
if( fgStructure.CurrentWindow != NULL )
fgStructure.CurrentWindow->State.VisualizeNormals = value;
break;
case GLUT_SKIP_STALE_MOTION_EVENTS:
return fgState.SkipStaleMotion;
- case GLUT_OBJECTS_VISUALIZE_NORMALS:
+ case GLUT_GEOMETRY_VISUALIZE_NORMALS:
if( fgStructure.CurrentWindow == NULL )
return GL_FALSE;
return fgStructure.CurrentWindow->State.VisualizeNormals;