fglLoadIdentity(3G) OpenGL Reference fglLoadIdentity(3G)NAMEfglLoadIdentity - replace the current matrix with the identity matrix
FORTRAN SPECIFICATION
SUBROUTINE fglLoadIdentity( )
DESCRIPTIONfglLoadIdentity replaces the current matrix with the identity matrix. It
is semantically equivalent to calling fglLoadMatrix with the identity
matrix
( )
1 0 0 0
| |
| 0 1 0 0 |
| |
0 0 1 0
| |
( 0 0 0 1 )
but in some cases it is more efficient.
ERRORS
GL_INVALID_OPERATION is generated if fglLoadIdentity is executed between
the execution of fglBegin and the corresponding execution of fglEnd.
ASSOCIATED GETS
fglGet with argument GL_MATRIX_MODE
fglGet with argument GL_COLOR_MATRIX
fglGet with argument GL_MODELVIEW_MATRIX
fglGet with argument GL_PROJECTION_MATRIX
fglGet with argument GL_TEXTURE_MATRIX
SEE ALSO
fglLoadMatrix, fglMatrixMode, fglMultMatrix, fglPushMatrix
Page 1