Changeset 9006 in orxonox.OLD for trunk/src/lib/graphics/effects/volfog_effect.cc
- Timestamp:
- Jul 2, 2006, 2:11:59 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/effects/volfog_effect.cc
r8523 r9006 74 74 75 75 void VolFogEffect::init() { 76 PRINTF( 0)("Initalize VolFogEffect\n");76 PRINTF(3)("Initalize VolFogEffect\n"); 77 77 78 78 // set fog mode … … 108 108 109 109 if (glewInit() == GLEW_OK) 110 PRINTF( 0)("glewInit OK\n");110 PRINTF(4)("glewInit OK\n"); 111 111 else 112 PRINTF( 0)("glewInit failed\n");112 PRINTF(4)("glewInit failed\n"); 113 113 114 114 if (glewGetExtension("GL_EXT_fog_coord")) 115 PRINTF( 0)("GL_EXT_fog_coord extension found\n");115 PRINTF(4)("GL_EXT_fog_coord extension found\n"); 116 116 } 117 117 118 118 119 119 void VolFogEffect::activate() { 120 PRINTF( 0)("Activating VolFogEffect\n");120 PRINTF(3)("Activating VolFogEffect\n"); 121 121 } 122 122 123 123 void VolFogEffect::deactivate() { 124 PRINTF( 0)("Deactivating VolFogEffect\n");124 PRINTF(3)("Deactivating VolFogEffect\n"); 125 125 126 126 glDisable(GL_FOG);
Note: See TracChangeset
for help on using the changeset viewer.