Changeset 8296 in orxonox.OLD for branches/terrain/src/lib/graphics/effects
- Timestamp:
- Jun 9, 2006, 1:04:56 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/terrain/src/lib/graphics/effects/volfog_effect.cc
r7810 r8296 23 23 #include "glincl.h" 24 24 //#include "shell_command.h" 25 26 25 #define GLX_GLXEXT_PROTOTYPES 27 #include <GL/glx.h> 28 // #include <GL/glut.h> 29 30 //#include <GL/glext.h> //OpenGL Extensions 31 //#include <GL/glxext.h> // GLX Extensions 32 26 27 //#include <OpenGL/glext.h> //OpenGL Extensions 28 //#include <OpenGL/glxext.h> // GLX Extensions 29 #ifndef __APPLE__ 33 30 #ifndef GL_EXT_fog_coord 34 31 #define GL_EXT_fog_coord 1 … … 45 42 PFNGLFOGCOORDDVEXTPROC glFogCoorddvEXT = 0; 46 43 PFNGLFOGCOORDPOINTEREXTPROC glFogCoordPointerEXT = 0; 47 44 #endif 48 45 49 46 using namespace std; … … 93 90 float fogColor[4] = {0.6f,0.58f,0.79f,0.0f}; 94 91 95 92 #ifndef __APPLE__ 96 93 glFogCoordfEXT = (PFNGLFOGCOORDFEXTPROC)glXGetProcAddressARB((const GLubyte*)"glFogCoordfEXT"); 97 94 glFogCoordfvEXT = (PFNGLFOGCOORDFVEXTPROC)glXGetProcAddressARB((const GLubyte*)"glFogCoordfvEXT"); … … 99 96 glFogCoorddvEXT = (PFNGLFOGCOORDDVEXTPROC)glXGetProcAddressARB((const GLubyte*)"glFogCoorddvEXT"); 100 97 glFogCoordPointerEXT = (PFNGLFOGCOORDPOINTEREXTPROC)glXGetProcAddressARB((const GLubyte*)"glFogCoordPointerEXT"); 101 98 #endif 102 99 // set the fog attributes 103 100 glFogf (GL_FOG_START, fogStart);
Note: See TracChangeset
for help on using the changeset viewer.