gSPPopMatrix.3p 816 Bytes
.TH gSPPopMatrix 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
gSPPopMatrix, gsSPPopMatrix
\- Matrix pop command.
.SH C SPECIFICATION
.nf
\f3#include "gbi.h"

gSPPopMatrix(Gfx *gdl, unsigned int param)

gsSPPopMatrix(unsigned int param)
\fP
.fi
.SH PARAMETERS
.TP 10
.I *gdl
graphics display list pointer.
.TP
.I param
flag field that identifies which matrix stack to pop.

\f3G_MTX_MODELVIEW\f1
pops the modeling/viewing matrix stack.

\f3G_MTX_PROJECTION\f1
pops the projection matrix stack (NOT IMPLEMENTED).

.SH DESCRIPTION
The
.I gSPPopMatrix (3P)
command is used to pop one of the matrix stacks.
The modelview stack can be up to 10 matrices deep, the projection
stack is 1 matrix deep, hence it cannot be popped.
.SH NOTE
If the stack is empty, the command is ignored.
.SH SEE ALSO
.IR gSPMatrix (3P)