OpenGLContext.drawcube
index
p:\openglcontext\drawcube.py

Low level testing function (draw a cube)
 
This module provides a simple function for drawing
a cube.  It is used by various modules for low level
testing purposes (i.e. in module-level rather than
system level tests).
 
This version was taken from the NeHe tutorials,
to replace the original which did not include
texture coordinate information.

 
Modules
            
Numeric
 
Functions
            
drawCube()
Draw a cube 2,2,2 units centered around the origin