Construct a new Mat4 object. It safely wraps a WasmMatrix4d object.
OptionaltheMatrix: WasmMatrix4dThe matrix to wrap.
Get the matrix.
Get quaternion.
Get translation.
Set translation.
Add a matrix to this matrix.
Get Euler angles.
Multiply this matrix by another matrix.
Multiply Point.
Get relative transform
Rotate around axis
the location
the axis
the angle
the rotated matrix
Apply rotation matrix around rotation center
the rotation matrix to apply
the center of rotation
Subtract a matrix from this matrix.
To Object Axes.
Transform the axes.
translate the matrix.
StaticbuildBuild a matrix from rotation angles.
StaticextractExtract a matrix from a Mat4 or WasmMatrix4d object.
StaticfromFrom Object Axes.
StaticfromFrom Euler angles.
StaticfromFrom quaternion.
StaticfromFrom relative axes.
A 4x4 matrix wrapper around Mat4Tools.