Triple Data Type

Declaration:

triple <name> ( <scalar>, <scalar>,<scalar> );

Reference:

<name>

Literal:

( <scalar>, <scalar>, <scalar> )

Purpose:

A triple may be specified as a literal or as a variable. If specified as a variable, it must have a name. The components of a triple are just the 3 values, which are identified by position rather than by keywords.

Example:

triple origin( 0, 0, 0 );





aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.