Query: glloadidentity
OS: mojave
Section: 3g
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GLLOADIDENTITY(3G) GLLOADIDENTITY(3G)NAMEglLoadIdentity - replace the current matrix with the identity matrixC SPECIFICATIONvoid glLoadIdentity( void )DESCRIPTIONglLoadIdentity replaces the current matrix with the identity matrix. It is semantically equivalent to calling glLoadMatrix with the iden- tity 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.ERRORSGL_INVALID_OPERATION is generated if glLoadIdentity is executed between the execution of glBegin and the corresponding execution of glEnd.ASSOCIATED GETSglGet with argument GL_MATRIX_MODE glGet with argument GL_COLOR_MATRIX glGet with argument GL_MODELVIEW_MATRIX glGet with argument GL_PROJECTION_MATRIX glGet with argument GL_TEXTURE_MATRIXSEE ALSOglLoadMatrix, glMatrixMode, glMultMatrix, glPushMatrix GLLOADIDENTITY(3G)