164

Transforming shapes
Rotating a coordinate system

  • Rotation orients the coordinate system and its shapes
  • Rotate about X, Y, or Z by an angle
  • Rotate about an arbitrary axis
  • Method
    void rotX( double angle )
    void rotY( double angle )
    void rotZ( double angle )
    void set( AxisAngle4d axang )
    void set( Matrix3d rot )