getmat(3G)getmat(3G)NAMEgetmat - returns a copy of a transformation matrix
FORTRAN 77 SPECIFICATION
subroutine getmat(m)
real m(4,4)
PARAMETERS
m expects an array into which to copy a matrix.
DESCRIPTIONgetmat copies a transformation matrix into a user-specified array. When
mmode is MSINGL, the matrix from the top of the single matrix stack is
returned. When mmode is MVIEWI, the matrix from the top of the ModelView
matrix stack is returned. When mmode is MPROJE, the projection matrix is
returned. And when mmode is MTEXTU, the texture matrix is returned.
getmat does not alter the state of the graphics system.
SEE ALSO
loadma, mmode, multma, popmat, pushma
NOTE
This routine is available only in immediate mode.
Page 1