define an array of normals


glNormalPointer( GLenum ( type ) , GLsizei ( stride ) , const GLvoid * ( pointer ) )-> void
glNormalPointer( type , stride , pointer )
glNormalPointerf( pointer )
glNormalPointeri( pointer )
glNormalPointers( pointer )


Specifies the data type of each coordinate in the array. Symbolic constants GL_BYTE , GL_SHORT , GL_INT , GL_FLOAT , and GL_DOUBLE are accepted. The initial value is GL_FLOAT .
Specifies the byte offset between consecutive normals. If stride is 0, the normals are understood to be tightly packed in the array. The initial value is 0.
Specifies a pointer to the first coordinate of the first normal in the array. The initial value is 0.

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

OpenGLContext tests/ Lines: 105
OpenGLContext tests/ Lines: 15
OpenGLContext OpenGLContext/ Lines: 35
OpenGLContext OpenGLContext/scenegraph/ Lines: 39
OpenGLContext OpenGLContext/scenegraph/ Lines: 56
OpenGLContext OpenGLContext/scenegraph/ Lines: 38, 93
{GPL3} OpenGL-Programmable Lines: 190
{GPL3} OpenGL-Programmable Lines: 97
{GPL3} OpenGL-Programmable Lines: 182
{GPL3} OpenGL-Programmable Lines: 116