scale

Syntax:

	(scale
		(scale-factor:  coord))
		(object: gprim))

scale-factor:

A set of coordinates specifying the (x, y, z) scale of the object. The default scale-factor is (: 1 1 1).

Note: Dimensions can not be scaled to zero. Any dimension with a scale-factor of zero will revert to a scale-factor of 1.

object:

A graphics primitive object or list of graphics primitive objects


Example:

(scale (scale-factor: (: 1 3 1)) (sphere))

This code creates a default sphere with a scaling of 3 in the y direction.


© 1996, Morgan McGuire ([email protected]) and Laura Wollstadt ([email protected]).
All rights reserved.

LBW 12/06/96