Module munum::transform2d

source ·
Expand description

2D transformation matrix functions.

Functions§

  • Creates a 3x3 transformation matrix that represents a rotation in couterclockwise direction.
  • Creates a 3x3 transformation matrix that represents a scaling of (x, y).
  • Creates a 3x3 matrix that represents a transformation in TRS order (= translation * rotation * scaling).
  • Creates a 3x3 transformation matrix that represents a translation of (x, y).