getmatrix(3G) — Silicon Graphics
NAME
getmatrix − returns the current transformation matrix
SPECIFICATION
C
getmatrix(m)
Matrix m;
FORTRAN
subroutine getmat(m)
real m(4,4)
Pascal
procedure getmatrix(var m: Matrix);
DESCRIPTION
getmatrix copies the transformation matrix from the top of the stack to a user-specified array. The matrix stack does not change.
SEE ALSO
loadmatrix, multmatrix, popmatrix, pushmatrix Programming Guide, Section 4.5, User-Defined Transformations
NOTE
This routine is available only in immediate mode.
Version 3.6 — December 20, 1987