glLoadMatrix
NAME
glLoadMatrix, glLoadMatrixf -- replace the current matrix with an arbitrary matrix
C SPECIFICATION
void glLoadMatrixd(GLdouble *m) void glLoadMatrixf(GLfloat *m)
PARAMETERS
m
Specifies a pointer to a 4x4 matrix stored in column-major order as sixteen consecutive values.
DESCRIPTION
glLoadMatrix replaces the current matrix with the one specified in m. The current matrix is the projection matrix, modelview matrix, or texture matrix, determined by the current matrix mode (see https://blog.youkuaiyun.com/jiangdf/article/details/8460012).
m points to a 4x4 matrix of single- or double-precision floating-point values stored in column-major order. That is, the matrix is stored as follows: