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