GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


Manpage of GLLOADIDENTITY

GLLOADIDENTITY

Index
 

NAME

glLoadIdentity - replace the current matrix with the identity matrix

 

C SPECIFICATION

void f3glLoadIdentityfP( void )


 

DESCRIPTION

%f3glLoadIdentityfP replaces the current matrix with the identity matrix. It is semantically equivalent to calling %f3glLoadMatrixfP with the identity matrix


down 20 { ~ matrix {
   ccol { 1 above 0 above 0 above 0~ }
   ccol { 0 above 1 above 0 above 0~ }
   ccol { 0 above 0 above 1 above 0~ }
   ccol { 0 above 0 above 0 above 1 } } } ~~

but in some cases it is more efficient.  

ERRORS

%f3GL_INVALID_OPERATIONfP is generated if %f3glLoadIdentityfP is executed between the execution of %f3glBeginfP and the corresponding execution of %f3glEndfP.  

ASSOCIATED GETS

%f3glGetfP with argument %f3GL_MATRIX_MODEfP
%f3glGetfP with argument %f3GL_COLOR_MATRIXfP
%f3glGetfP with argument %f3GL_MODELVIEW_MATRIXfP
%f3glGetfP with argument %f3GL_PROJECTION_MATRIXfP
%f3glGetfP with argument %f3GL_TEXTURE_MATRIXfP  

SEE ALSO

%f3glLoadMatrix(3G)fP, %f3glMatrixMode(3G)fP, %f3glMultMatrix(3G)fP, %f3glPushMatrix(3G)fP


 

Index

NAME
C SPECIFICATION
DESCRIPTION
ERRORS
ASSOCIATED GETS
SEE ALSO