OpenGLContext.drawcube

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.

Functions