translate

Syntax:

	(translate
		(direction: coord)
		(object: gprim))

direction:

A set of coordinates specifying the direction and magnitude of the translation. The default direction if (: 0 0 0).

object:

A graphics primitive object or a list of graphics primitive objects


Example:

(translate ((direction: (: 3 7 4)) (sphere))

This code translates a default sphere to the position (3, 7, 4).


© 1996, Morgan McGuire ([email protected]) and Laura Wollstadt (lwollstadt @wellesley. edu).

LBW 12/05/96