translate() — Silicon Graphics
NAME
translate − translates graphical primitives
SPECIFICATION
C
translate(x, y, z)
Coord x, y, z;
FORTRAN
subroutine transl(x, y, z)
real x, y, z
Pascal
procedure translate(x, y, z: Coord);
DESCRIPTION
translate places the object space origin at a given world coordinate point. translate is a modeling routine, which changes the current transformation matrix. All objects drawn after translate executes are translated. Use pushmatrix and popmatrix to limit the scope of the translation.
SEE ALSO
popmatrix, pushmatrix, rotate, scale IRIS Graphics Programming, Section 4.1, Modeling Transformations
Version 2.5 — April 22, 1987