版权声明:本文为博主编写文章,未经博主允许转载,转载请注明出处: https://blog.csdn.net/qq_39742013/article/details/82856548
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.csdn.net/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: