1GLLOADIDENTITY(3G) GLLOADIDENTITY(3G)
2
3
4
6 glLoadIdentity - replace the current matrix with the identity matrix
7
8
10 void glLoadIdentity( void )
11
12
14 glLoadIdentity replaces the current matrix with the identity matrix.
15 It is semantically equivalent to calling glLoadMatrix with the identity
16 matrix
17
18
19 1 0 0 0
20 ⎛⎝0 1 0 0⎞⎠
21 0 0 1 0
22 0 0 0 1
23
24 but in some cases it is more efficient.
25
27 GL_INVALID_OPERATION is generated if glLoadIdentity is executed between
28 the execution of glBegin and the corresponding execution of glEnd.
29
31 glGet with argument GL_MATRIX_MODE
32 glGet with argument GL_COLOR_MATRIX
33 glGet with argument GL_MODELVIEW_MATRIX
34 glGet with argument GL_PROJECTION_MATRIX
35 glGet with argument GL_TEXTURE_MATRIX
36
38 glLoadMatrix(3G), glMatrixMode(3G), glMultMatrix(3G), glPushMatrix(3G)
39
40
41
42 GLLOADIDENTITY(3G)