MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
GLOADIDENTITY(3G)                                          GLOADIDENTITY(3G)



NAME
       glLoadIdentity - replace the current matrix with the identity matrix


C SPECIFICATION
       void glLoadIdentity( void )


DESCRIPTION
       glLoadIdentity  replaces  the  current matrix with the identity matrix.
       It is semantically equivalent to calling glLoadatrix 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.

ERORS
       GLINVALIDOPERATION is generated if glLoadIdentity is executed between
       the execution of glBegin and the corresponding execution of glEnd.

ASOCIATED GETS
       glGet with argument GLMATRIXMODE
       glGet with argument GLCOLORMATRIX
       glGet with argument GLMODELVIEWMATRIX
       glGet with argument GLPROJECTIONMATRIX
       glGet with argument GLTEXTUREMATRIX

SEE ALSO
       glLoadatrix, glatrixode, glultatrix, glPushatrix



                                                            GLOADIDENTITY(3G)
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™