scale(3G) scale(3G)
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
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
Page 1 (printed 8/20/87)