M
glMultMatrix
In many computer languages, 4 4 arrays are represented in row-major order. The
transformations just described represent these matrices in column-major order. The
order of the multiplication is important. For example, if the current transformation is a
rotation, and glMultMatrix is called with a translation matrix, the translation is done
directly on the coordinates to be transformed, while the rotation is done on the results of
that translation.
Errors
•
Associated Gets
glGet with argument GL_MATRIX_MODE
glGet with argument GL_MODELVIEW_MATRIX
glGet with argument GL_PROJECTION_MATRIX
glGet with argument GL_TEXTURE_MATRIX
See Also
glLoadIdentity,
glLoadMatrix,
glMatrixMode,
glPushMatrix
290
GL_INVALID_OPERATION is generated if glMultMatrix is executed between the
execution of glBegin and the corresponding execution of glEnd.
Chapter 11