StaticacosStaticasinStaticatanStaticclampStaticconjugateStaticcosStaticcreateCreates 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.
StaticfromCreates 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.
StaticidentityStaticlerpStaticlerpStaticmapMaps 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.
StaticmultiplyStaticmultiplyStaticnormalizeStaticrandomStaticrotationStaticrotationStaticrotationStaticrotationStaticsinStaticsmoothstepStatictanStatictranslation
A helper class for common math operations.