X-Git-Url: http://git.hcoop.net/clinton/guile-figl.git/blobdiff_plain/b002944dd992dc5a273e0067504beb48e1ae3d1c..a6a00658f26c164551287799b194cc2f07eb78be:/upstream-doc/man2/xhtml/glMatrixMode.xml diff --git a/upstream-doc/man2/xhtml/glMatrixMode.xml b/upstream-doc/man2/xhtml/glMatrixMode.xml new file mode 100644 index 0000000..dd7f3d5 --- /dev/null +++ b/upstream-doc/man2/xhtml/glMatrixMode.xml @@ -0,0 +1,48 @@ + + +
glMatrixMode â specify which matrix is the current matrix
void glMatrixMode( | GLenum  | mode) ; |
mode
+ Specifies which matrix stack is the target
+ for subsequent matrix operations.
+ Three values are accepted:
+ GL_MODELVIEW
,
+ GL_PROJECTION
, and
+ GL_TEXTURE
.
+ The initial value is GL_MODELVIEW
.
+ Additionally, if the ARB_imaging
extension is supported,
+ GL_COLOR
is also accepted.
+
+ glMatrixMode
sets the current matrix mode.
+ mode
can assume one of four values:
+
GL_MODELVIEW
+ Applies subsequent matrix operations to the modelview matrix stack. +
GL_PROJECTION
+ Applies subsequent matrix operations to the projection matrix stack. +
GL_TEXTURE
+ Applies subsequent matrix operations to the texture matrix stack. +
GL_COLOR
+ Applies subsequent matrix operations to the color matrix stack. +
+ To find out which matrix stack is currently the target of all matrix
+ operations, call glGet with argument GL_MATRIX_MODE
. The initial
+ value is GL_MODELVIEW
.
+
+ GL_INVALID_ENUM
is generated if mode
is not an accepted value.
+
+ GL_INVALID_OPERATION
is generated if glMatrixMode
+ is executed between the execution of glBegin
+ and the corresponding execution of glEnd.
+
+ glLoadMatrix, + glLoadTransposeMatrix, + glMultMatrix, + glMultTransposeMatrix, + glPopMatrix, + glPushMatrix +
+ Copyright © 1991-2006 + Silicon Graphics, Inc. This document is licensed under the SGI + Free Software B License. For details, see + http://oss.sgi.com/projects/FreeB/. +