59

Transforming shapes
Rotating

  • Rotation orients a coordinate system about a rotation axis by a rotation angle
  • Angles are measured in radians
  • radians = degrees / 180.0 * 3.141
  • Transform {
        #        X   Y   Z    Angle
        rotation 0.0 0.0 1.0  0.52
        children [ . . . ]
    }