mat3 is a collection of functions to manipulate Mat3 3x3 matrix objects.
mat3
The primary use for a Mat3 object is as a 2D transformation matrix or a 3D rotation matrix.
A "column-major" ordering and a "right-handed" coordinate system is assumed, suitable for e.g. WebGL
Example usage:
import * as mat3 from '@spissvinkel/maths/mat3'; Copy
import * as mat3 from '@spissvinkel/maths/mat3';
Generated using TypeDoc
mat3
is a collection of functions to manipulate Mat3 3x3 matrix objects.The primary use for a Mat3 object is as a 2D transformation matrix or a 3D rotation matrix.
A "column-major" ordering and a "right-handed" coordinate system is assumed, suitable for e.g. WebGL
Example usage: