A matrix stack designed to replace fixed-pipeline matrix stacks.
This stack always expose both the top element and its inverse.
Type of matrices in the stack. Can be 3x3 or 4x4.
Creates a matrix stack.
The stack is initialized with one element, an identity matrix.
Replacement for glLoadIdentity.
Replacement for glPushMatrix.
Replacement for glPopMatrix.
Sets top matrix.
Replaces glLoadMatrix.
Replacement for glMultMatrix.
Replacement for glMultMatrix, with provided inverse.
Replacement for glTranslate.
Replacement for glScale.
Replacement for glRotate.
Replacement for gluPerspective.
Replacement for glOrtho.
Replacement for gluLookAt.