Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rotate(3g) — 4D1 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     rotate(3G)                                             rotate(3G)



NAME
rotate - rotates graphical primitives
SPECIFICATION
C rotate(a, axis)
Angle a;
char axis;
FORTRAN subroutine rotate(a, axis)
integer*4 a
character axis
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
Programming Guide, Section 4.1, Modeling Transformations
Page 1 (printed 8/20/87)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026