getmatrix(3G)
getmatrix - returns a copy of a transformation matrix
As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.
NAME getmatrix - returns a copy of a transformation matrix C SPECIFICATION void getmatrix(m) Matrix m; PARAMETERS m expects an array into which to copy a matrix. DESCRIPTION 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. SEE ALSO loadmatrix, mmode, multmatrix, popmatrix, pushmatrix NOTE This routine is available only in immediate mode.