Quat.normalize
Normalizes a quaternion, ie. converts to a unit quaternion of length 1.
Kind: Function
Environments: Game, Terrain
Game
quat:normalize( )
Parameters:
| Name | Type | Description |
|---|---|---|
quaternion |
Quat | The quaternion. |
Returns:
| Type | Description |
|---|---|
| Quat | The normalized quaternion. |
Terrain
quat:normalize( )
Open the full Terrain reference
Parameters:
| Name | Type | Description |
|---|---|---|
quaternion |
Quat | The quaternion. |
Returns:
| Type | Description |
|---|---|
| Quat | The normalized quaternion. |