sm.util.axesToQuat
Constructs a quaternion from a X and Z axis
Kind: Function
Environments: Game, Terrain
Game
sm.util.axesToQuat( xAxis, yAxis )
Parameters:
Returns:
| Name | Type | Description |
|---|---|---|
rotation |
Quat | The quaternion. |
Terrain
sm.util.axesToQuat( xAxis, yAxis )
Open the full Terrain reference
Parameters:
Returns:
| Name | Type | Description |
|---|---|---|
rotation |
Quat | The quaternion. |