mmode(3G) mmode(3G)
NAME
mmode - sets the current matrix mode
SPECIFICATION
C mmode(m)
long m;
FORTRAN subroutine mmode(m)
integer*4 c
DESCRIPTION
mmode sets the current matrix mode. Valid modes are
MSINGLE, MPROJECTION, and MVIEWING.
These constants are defined in the file gl.h. The table
below indicates values for each mode.
_____________________
|VALUE Mode |
_____________________
| |
0 MSINGLE
| |
1 MPROJECTION
| |
2 MVIEWING
|____________________|
The system is in MSINGLE mode after a call to winopen,
ginit, or gbegin.
SEE ALSO
getmmode, lmdef, lmbind
Programming Guide, Section 14.4
NOTE
This routine is available in immediate mode and can be
called within graphic objects.
Page 1 (printed 8/20/87)