1GLLOADIDENTITY(3G)                                          GLLOADIDENTITY(3G)
2
3
4

NAME

6       glLoadIdentity - replace the current matrix with the identity matrix
7
8

C SPECIFICATION

10       void glLoadIdentity( void )
11
12

DESCRIPTION

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

ERRORS

27       GL_INVALID_OPERATION is generated if glLoadIdentity is executed between
28       the execution of glBegin and the corresponding execution of glEnd.
29

ASSOCIATED GETS

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

SEE ALSO

38       glLoadMatrix(3G), glMatrixMode(3G), glMultMatrix(3G), glPushMatrix(3G)
39
40
41
42                                                            GLLOADIDENTITY(3G)
Impressum