new Quaternion(x, y, z, w)
a Quaternion class
Parameters:
Name | Type | Description |
---|---|---|
x |
number | |
y |
number | |
z |
number | |
w |
number |
- Source:
Methods
(static) slerpFlat()
- Source:
copy()
- Source:
dot()
- Source:
fromArray()
- Source:
length()
- Source:
lerpQuaternions()
Linearly interpolates between two quaternions.
- Source:
multiply()
- Source:
multiplyQuaternions()
- Source:
normalize()
- Source:
premultiply()
- Source:
set()
- Source:
setFromAxisAngle()
Set quaternion from axis angle
- Source:
setFromEuler()
- Source:
setFromRotationMatrix()
- Source:
setFromUnitVectors()
- Source:
slerpQuaternions()
Spherically interpolates between two quaternions
providing an interpolation between rotations with constant angle change rate.
- Source:
toMatrix4()
- Source: