OpenGLContext.quaternion

Simple module providing a quaternion class for manipulating rotations easily.
Note: all angles are assumed to be specified in radians. Note: this is an entirely separate implementation from the PyOpenGL quaternion class. This implementation assumes that Numeric python will be available, and provides only those methods and helpers commonly needed for manipulating rotations.

Functions

Classes

class Quaternion( object ):
Quaternion object implementing those methods required to be useful for OpenGL rendering (and not many others)
internal