quaternion.pack
EditPacks numbers into a quaternion. Note that these are raw quaternion components, not angle/axis.
Arguments
| Name | Type | Description |
| x | number | The x component of the quaternion. |
| y | number | The y component of the quaternion. |
| z | number | The z component of the quaternion. |
| w | number | The w component of the quaternion. |
Returns
| Name | Type | Description |
| q | quaternion | The new quaternion. |
Returns the identity quaternion.
Arguments
None
Returns
| Name | Type | Description |
| q | quaternion | The new quaternion. |