gSPPopMatrix.3p
816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.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)