Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getmatrix(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



getmatrix(3G)                                                    getmatrix(3G)



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.






























                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026