OpenGL(一)--OpenGL函数解析-glLoadMatrix

版权声明:本文为博主编写文章,未经博主允许转载,转载请注明出处: 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:

猜你喜欢

转载自blog.csdn.net/qq_39742013/article/details/82856548
今日推荐