Name
gl.LoadIdentity -- replace the current matrix with the identity matrix
Synopsis
gl.LoadIdentity()
Function
gl.LoadIdentity() replaces the current matrix with the identity matrix. It is semantically equivalent to calling gl.LoadMatrix() with the identity matrix but in some cases it is more efficient.

Please consult an OpenGL reference manual for more information.

Inputs
none

Errors
#GL_INVALID_OPERATION is generated if gl.LoadIdentity() is executed between the execution of gl.Begin() and the corresponding execution of gl.End() .

Associated gets
gl.Get() with argument #GL_MATRIX_MODE

gl.Get() with argument #GL_MODELVIEW_MATRIX

gl.Get() with argument #GL_PROJECTION_MATRIX

gl.Get() with argument #GL_TEXTURE_MATRIX


Show TOC