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. 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.4 — May 08, 1986