- multiply the current matrix by a general scaling matrix
C SPECIFICATION
PARAMETERS
_param1, _param2, _param3
Specify scale factors along the
x, y, and z axes, respectively.
DESCRIPTION
glScale produces a nonuniform scaling along the x, y, and
z axes. The three parameters indicate the desired scale
factor along each of the three axes.
The current matrix (see glMatrixMode) is multiplied by
this scale matrix, and the product replaces the current
matrix as if glScale were called with the following matrix
as its argument:
0 _eqnparam2 0 0
( )
0 0 _eqnparam3 0
GL_NORMALIZE.
ERRORS
GL_INVALID_OPERATION is generated if glScale is executed
between the execution of glBegin and the corresponding
execution of glEnd.
ASSOCIATED GETS
glGet with argument GL_MATRIX_MODE
glGet with argument GL_COLOR_MATRIX
glGet with argument GL_MODELVIEW_MATRIX
glGet with argument GL_PROJECTION_MATRIX
glGet with argument GL_TEXTURE_MATRIX
SEE ALSO
glMatrixMode, glMultMatrix, glPushMatrix, glRotate,
glTranslate
1