Returns the current matrix mode.
FORTRAN (libfgl.a)
Int32 getmmode( )
INTEGER*4 FUNCTION GETMMO
The getmmode subroutine returns the current matrix mode.
Note: This subroutine cannot be used to add to a display list.
There are three possible return values for this function:
C | FORTRAN | Mode |
MSINGLE | MSINGL | Single matrix |
MPROJECTION | MPROJE | Projection matrix |
MVIEWING | MVIEWI | Viewing matrix |
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
/usr/include/gl/gl.h | Contains C language constant and variable type definitions for GL. |
/usr/include/gl/fgl.h | Contains FORTRAN constant and variable type definitions for GL. |
Making a material, light, or lighting model definition active with the lmbind subroutine.
Defining a new material, light, or lighting model with the lmdef subroutine.
Setting the current matrix mode with the mmode subroutine.
AIX Graphics Library Overview, Creating Lighting Effects, Querying the System, and Setting Pipeline Options.