Static
acosStatic
asinStatic
atanStatic
clampStatic
conjugateStatic
cosStatic
createCreates a quaternion from an axis and an angle.
The rotation axis as a Point3D.
The rotation angle in degrees.
A new quaternion as a Float32Array.
Static
fromCreates a quaternion from Euler angles (in degrees).
The rotation angle around the X-axis in degrees.
The rotation angle around the Y-axis in degrees.
The rotation angle around the Z-axis in degrees.
A new quaternion as a Float32Array.
Static
identityStatic
lerpStatic
lerpStatic
mapMaps a value from one range to another.
The value to map.
The minimum value of the input range.
The maximum value of the input range.
The minimum value of the output range.
The maximum value of the output range.
The mapped value.
Static
multiplyStatic
multiplyStatic
normalizeStatic
randomStatic
rotationStatic
rotationStatic
rotationStatic
rotationStatic
sinStatic
smoothstepStatic
tanStatic
translation
A helper class for common math operations.