next up previous contents index
Next: Rotate Up: Transformations Previous: Scale

Reflect

  

The reflect command requires one axis to be specified. It reflects the object in the plane through the origin that is normal to this axis. This is the plane defined by the other two axes.

  object reflect(axis the_axis, object x);

The example is shown in figure 4

Example

  yellow_cone = reflect(Z,yellow_cone);

  figure152
Figure 4: Reflecting a cone in Z



Sophie Day
Fri Feb 20 15:47:19 NZDT 1998