gl.LoadMatrix(mArray)
gl.LoadMatrix()
replaces the current matrix with the one whose elements are specified in mArray
. The current
matrix is the projection matrix, modelview matrix, or texture matrix, depending on the current matrix mode
(See gl.MatrixMode for details.). mArray
must store its values in column-major order.
Please consult an OpenGL reference manual for more information.
#GL_INVALID_OPERATION
is generated if gl.LoadMatrix()
is executed between the execution of gl.Begin() and the corresponding execution of gl.End() .
#GL_MATRIX_MODE
gl.Get() with argument #GL_MODELVIEW_MATRIX
gl.Get() with argument #GL_PROJECTION_MATRIX
gl.Get() with argument #GL_TEXTURE_MATRIX