Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ scale(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

scale(3G)  —  Silicon Graphics

NAME

scale − scales and mirrors objects

SPECIFICATION

C
scale(x, y, z)
float x, y, z;

FORTRAN
subroutine scale(x, y, z)
real x, y, z

Pascal
procedure scale(x, y, z: real);

DESCRIPTION

scale shrinks, expands, and mirrors objects.  x, y, z specify scaling in each of the three coordinate directions.  Values with a magnitude greater than 1 expand the object; values with a magnitude less than 1 shrink it.  Negative values mirror the object. 

scale is a modeling routine; it changes the current transformation matrix.  All objects drawn after scale executes are affected. 

Use pushmatrix and popmatrix to limit the scope of scale. 

SEE ALSO

popmatrix, pushmatrix, rot, rotate, translate Programming Guide, Section 4.1, Modeling Transformations

Version 3.6  —  December 20, 1987

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