Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rotate(3) — GL1 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

rotate(3)  —  Silicon Graphics R1c

NAME

rotate - rotate graphical primitives

SYNOPSIS

C
rotate(a, axis)
Angle a;
char axis;

FORTRAN
subroutine rotate(a, axis)
integer*2 angle
character axis

Pascal
procedure rotate(a: Angle; axis: char);

DESCRIPTION

Rotate specifies an angle and an axis of rotation.  The angle is given in tenths of degrees according to the right-hand rule.  The axis of rotation is defined by a character, either ’x’, ’y’, or ’z’ (the character can be upper or lower case).  Rotate is a modeling command; thus, it changes the current transformation matrix.  All objects drawn after the rotate command is executed will be rotated.  Use pushmatrix and popmatrix to preserve and restore an unrotated world space. 

SEE ALSO

popmatrix, pushmatrix, scale, translate

Version 2.3  —  July 04, 1985

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