Extracted from Pike v7.3 release 18 at 2002-03-27.
pike.roxen.com
[Top]
GL

Method GL.glLoadIdentity()


Method glLoadIdentity

void GL.glLoadIdentity()

Description

GL.glLoadIdentity replaces the current matrix with the identity matrix. It is semantically equivalent to calling GL.glLoadMatrix with the identity matrix

.ce

.EQ left ( 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 } } } ~~ right ) .EN

but in some cases it is more efficient.

Throws

GL_INVALID_OPERATION is generated if GL.glLoadIdentity is executed between the execution of GL.glBegin and the corresponding execution of GL.glEnd.