Skip to main content

Module mat

Module mat 

Source
Expand description

Matrix types: Mat3 (2D transforms), Mat4 (3D transforms)

Row-major storage. Multiplication is M × v (matrix on left). Column vectors: v’ = M * v. Composition: M_final = M_last * … * M_first.

Structs§

Mat3
Mat4