mat3 is a collection of functions to manipulate Mat3 3x3 matrix objects.
mat3
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';
mat3is a collection of functions to manipulateMat33x3 matrix objects.The primary use for a
Mat3object 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: