Unix and Linux Discussions Tagged with matrix |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
1,440 |
Shell Programming and Scripting |
|
|
|
7 |
4,440 |
Shell Programming and Scripting |
|
|
|
11 |
3,260 |
Shell Programming and Scripting |
|
|
|
3 |
2,105 |
Shell Programming and Scripting |
|
|
|
23 |
5,589 |
Programming |
|
|
|
4 |
2,408 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,296 |
Shell Programming and Scripting |
|
|
|
5 |
6,401 |
Shell Programming and Scripting |
|
|
|
10 |
11,696 |
Shell Programming and Scripting |
|
|
|
2 |
3,436 |
Shell Programming and Scripting |
|
|
|
15 |
21,255 |
Shell Programming and Scripting |
|
|
|
2 |
3,054 |
Shell Programming and Scripting |
|
|
|
0 |
4,942 |
Shell Programming and Scripting |
|
|
|
0 |
3,696 |
Programming |
|
|
|
2 |
16,117 |
Shell Programming and Scripting |
|
|
|
3 |
2,842 |
Shell Programming and Scripting |
|
|
|
11 |
5,480 |
Shell Programming and Scripting |
|
|
|
0 |
3,470 |
Solaris BigAdmin RSS |
|
|
|
2 |
2,398 |
Shell Programming and Scripting |
|
|
|
2 |
16,934 |
Shell Programming and Scripting |
|
|
|
1 |
3,076 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
683 |
Software Releases - RSS News |
|
|
|
0 |
677 |
Software Releases - RSS News |
|
|
|
0 |
703 |
Software Releases - RSS News |
|
|
|
0 |
679 |
Software Releases - RSS News |
|
|
|
0 |
894 |
Software Releases - RSS News |
|
|
|
1 |
5,415 |
Shell Programming and Scripting |
|
|
|
0 |
801 |
Software Releases - RSS News |
|
|
|
0 |
728 |
Software Releases - RSS News |
|
|
|
0 |
2,980 |
News, Links, Events and Announcements |
GLMATRIXMODE(3G) GLMATRIXMODE(3G)
NAME
glMatrixMode - specify which matrix is the current matrix
C SPECIFICATION
void glMatrixMode( GLenum mode )
PARAMETERS
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 GL_ARB_imaging extension is supported, GL_COLOR is also accepted.
DESCRIPTION
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.
ERRORS
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.
ASSOCIATED GETS
glGet with argument GL_MATRIX_MODE
SEE ALSO
glLoadMatrix, glPushMatrix
GLMATRIXMODE(3G)