Quat.round90
Rounds the quaternion rotation into 90 degree steps
Kind: Function
Environments: Game, Terrain
Game
quat:round90( )
Parameters:
| Name | Type | Description |
|---|---|---|
quaternion |
Quat | The quaternion. |
Returns:
| Type | Description |
|---|---|
| Quat | The rounded quaternion. |
Terrain
quat:round90( )
Open the full Terrain reference
Parameters:
| Name | Type | Description |
|---|---|---|
quaternion |
Quat | The quaternion. |
Returns:
| Type | Description |
|---|---|
| Quat | The rounded quaternion. |