getmat(3G)

getmat - returns a copy of a transformation matrix

As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.

NAME
     getmat - 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.

DESCRIPTION
     getmat 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.