Module matrix

Source
Expand description

Defines the Mat3 and Mat4 types and associated operations.

Structsยง

Mat3
A 3x3 column-major matrix, typically used for 2D affine transformations (scale, rotation).
Mat4
A 4x4 column-major matrix, used for 3D affine transformations.