Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rotate(3) — libiris R1c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

rotate(3)  —  Unix Programmer’s Manual

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

Silicon Graphics  —  R1c

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