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