Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ scale(3g) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

scale()  —  Silicon Graphics Beta Release

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.  Its three arguments specify scaling in each of the three coordinate directions.  Values with magnitude of more than 1 expand the object; values with magnitude less than 1 shrink it.  Negative values cause mirroring.  scale is a modeling command; it changes the current transformation matrix.  All objects drawn after the scale command is executed will be affected.  Use pushmatrix and popmatrix to limit the scope of the scale command. 

SEE ALSO

 popmatrix, pushmatrix, rotate, translate

Version 2.3  —  July 04, 1985

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