Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ scale(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

scale()  —  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 and 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 cause mirroring. 

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, rotate, translate IRIS Graphics Programming, Section 4.1, Modeling Transformations

Version 2.5r1  —  October 29, 1986

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