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

NAME

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

C SPECIFICATION

9       void glLoadIdentity(void);
10

DESCRIPTION

12       glLoadIdentity replaces the current matrix with the identity matrix. It
13       is semantically equivalent to calling glLoadMatrix() with the identity
14       matrix
15
16       1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
17
18       but in some cases it is more efficient.
19

ERRORS

21       GL_INVALID_OPERATION is generated if glLoadIdentity is executed between
22       the execution of glBegin() and the corresponding execution of glEnd().
23

ASSOCIATED GETS

25       glGet() with argument GL_MATRIX_MODE
26
27       glGet() with argument GL_COLOR_MATRIX
28
29       glGet() with argument GL_MODELVIEW_MATRIX
30
31       glGet() with argument GL_PROJECTION_MATRIX
32
33       glGet() with argument GL_TEXTURE_MATRIX
34

SEE ALSO

36       glLoadMatrix(), glLoadTransposeMatrix(), glMatrixMode(),
37       glMultMatrix(), glMultTransposeMatrix(), glPushMatrix()
38
40       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
41       under the SGI Free Software B License. For details, see
42       http://oss.sgi.com/projects/FreeB/.
43

AUTHORS

45       opengl.org
46
47
48
49opengl.org                        07/13/2018                GLLOADIDENTITY(3G)
Impressum