new Quaternion(options)
A Quaternion.
Parameters:
Name | Type | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
- Source:
Methods
clone() → {Quaternion}
Clone a copy of this quaternion.
- Source:
Returns:
The cloned quaternion.
- Type
- Quaternion
conjugate()
Perform a conjugation on this quaternion.
- Source:
invert()
Convert this quaternion into its inverse.
- Source:
multiply(q)
Set the values of this quaternion to the product of itself and the given quaternion.
Parameters:
Name | Type | Description |
---|---|---|
q |
Quaternion | The quaternion to multiply with. |
- Source:
norm()
Return the norm of this quaternion.
- Source:
normalize()
Perform a normalization on this quaternion.
- Source: