glMultMatrix

NAME

glMultMatrixd, glMultMatrixf -- multiply the current matrix by an arbitrary matrix

C SPECIFICATION

void glMultMatrixd(const GLdouble *m)
void glMultMatrixf(const GLfloat *m)

PARAMETERS

m
Specifies a pointer a to 4*4 matrix stored in column-major order as sixteen consecutive values.

DESCRIPTION

glMultMatrix multiplies the current matrix with the one specified in m. That is, if M is the current matrix and T is the matrix passed to glMultMatrix, then M is replaced with M * T.

The current matrix is the projection matrix, modelview matrix, or texture matrix, determined by the current matrix mode (see glMatrixMode).

m points to a 4*4 matrix of single- or double-precision floating-point values stored in column-major order. That is, the matrix is stored as

Sorry -- no description available

ERRORS

GL_INVALID_OPERATION is generated if glMultMatrix is executed between the execution of glBegin and the corresponding execution of glEnd.

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

glMatrixMode, glLoadIdentity, glLoadMatrix, glPushMatrix


back to the OpenGL index page


© 1995 Uwe Behrens. All rights reserved.