61 static void glMaterialfv (GLenum face, GLenum pname,
const GLfloat *params);
62 static void glMaterialf (GLenum face, GLenum pname, GLfloat param);
68 static void glScalef (GLfloat x, GLfloat y, GLfloat z);
69 static void glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
74 static void glLightf (GLenum light, GLenum pname, GLfloat param);
75 static void glLightfv (GLenum light, GLenum pname,
const GLfloat *params);
77 static void glClipPlane (GLenum plane,
const GLdouble *equation);
87 static unsigned int _uniqueId;
89 static GLenum _matrixMode;
91 static std::vector<unsigned int> _matrixIdStack[3];
92 static unsigned int _matrixId[3];
94 static unsigned int _materialId;
95 static unsigned int _lightId;
96 static unsigned int _clipPlaneId;
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
a class that offers static wrappers around OpenGL functions
static void glLoadMatrixf(const GLfloat *m)
static void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
static void glClipPlane(GLenum plane, const GLdouble *equation)
static unsigned int modelViewMatrixId()
static void glLightf(GLenum light, GLenum pname, GLfloat param)
static void glColor4ubv(const GLubyte *v)
static void glPushMatrix(void)
static unsigned int clipPlaneId()
static void glMultMatrixf(const GLfloat *m)
static unsigned int projectionMatrixId()
static void glScalef(GLfloat x, GLfloat y, GLfloat z)
static void glLoadIdentity(void)
static void glMatrixMode(GLenum mode)
static unsigned int materialId()
static unsigned int textureMatrixId()
static void glTranslatef(GLfloat x, GLfloat y, GLfloat z)
static void glLightfv(GLenum light, GLenum pname, const GLfloat *params)
static void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params)
static void glMaterialf(GLenum face, GLenum pname, GLfloat param)
static void glPopMatrix(void)
static unsigned int lightId()
include the glew header, which allows to access the whole OpenGL and extensions API without using nat...