Skip to main content

Module mat

Module mat 

Source
Expand description

Matrix types for geometric transforms.

Mat3 is a 3x3 matrix and Mat4 is a 4x4 affine transform matrix.

Structsยง

Mat3
A 3x3 matrix stored in row-major order.
Mat4
A 4x4 matrix stored in row-major order, typically used for affine transforms.