rotate() — Silicon Graphics
NAME
rotate − rotates graphical primitives
SPECIFICATION
C
rotate(a, axis)
Angle a;
char axis;
FORTRAN
subroutine rotate(a, axis)
integer*4 a
character axis
Pascal
procedure rotate(a: longint; axis: longint);
DESCRIPTION
rotate specifies an angle (a) and an axis of rotation (axis). The angle (a) is given in tenths of degrees according to the right-hand rule. The axis of rotation (axis) is defined by a character, either ´x´, ´y´, or ´z´. (The character can be upper- or lowercase.)
rotate is a modeling routine; it changes the current transformation matrix. All objects drawn after rotate executes are rotated. Use pushmatrix and popmatrix to preserve and restore an unrotated world space.
SEE ALSO
rot, popmatrix, pushmatrix, scale, translate IRIS Graphics Programming, Section 4.1, Modeling Transformations
Version 2.5r1 — October 29, 1986