getmatrix(3G) getmatrix(3G)
getmatrix - returns a copy of a transformation matrix
void getmatrix(m)
Matrix m;
m expects an array into which to copy a matrix.
getmatrix copies a transformation matrix into a user-specified array.
When mmode is MSINGLE, the matrix from the top of the single matrix stack
is returned. When mmode is MVIEWING, the matrix from the top of the
ModelView matrix stack is returned. When mmode is MPROJECTION, the
projection matrix is returned. And when mmode is MTEXTURE, the texture
matrix is returned.
getmatrix does not alter the state of the graphics system.
loadmatrix, mmode, multmatrix, popmatrix, pushmatrix
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|