Matrixmode
The MatrixMode function specifies which matrix is the current matrix.
MatrixMode( mode );
Arguments
mode
The matrix stack that is the target for subsequent matrix operations. The mode parameter can assume one of three values:
GL_MODELVIEW
Applies subsequent matrix operations to the modelview matrix stack.
GL_PROJECTION
Applies subsequent matrix operations to the projection matrix stack.
GL_TEXTURE
Applies subsequent matrix operations to the texture matrix stack.
Remarks
The MatrixMode function sets the current matrix mode.
Note: Do not call MatrixMode between a call to Begin and the corresponding call to End.
See Also