- multiply the current matrix by a translation matrix
C SPECIFICATION
PARAMETERS
_param1, _param2, _param3
Specify the x, y, and z coordi-
nates of a translation vector.
DESCRIPTION
glTranslate produces a translation by
(_eqnparam1,_eqnparam2,_eqnparam3). The current matrix
(see
glMatrixMode) is multiplied by this translation matrix,
with the product replacing the current matrix, as if
glMultMatrix were called with the following matrix for its
argument:
0 1 0 _eqnparam2
( )
0 0 1 _eqnparam3
SEE ALSO
glMatrixMode, glMultMatrix, glPushMatrix, glRotate,
glScale
1