66

Transforming shapes
Scaling, rotating, and translating

  • Scale, Rotate, and Translate a coordinate system, one after the other
    Transform {
        translation 2.0 0.0 0.0
        rotation 0.0 0.0 1.0  0.52
        scale 0.5 0.5 0.5
        children [ . . . ]
    }

  • Read operations bottom-up:
  • The children are scaled, rotated, then translated
  • Order is fixed, independent of field order