Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ scale(3) — libiris R1c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

scale(3)  —  Unix Programmer’s Manual

NAME

scale - scale and mirror objects

SYNOPSIS

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 1 or more 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

Silicon Graphics  —  R1c

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