![]() |
GearBlocks
The GearBlocks Lua scripting API
|
Some useful math functions. More...
Static Public Member Functions | |
static float | DeltaAngle (float a, float b) |
Calculates the shortest angle between two angles. | |
Some useful math functions.
Available in Lua via the "Math" global, for example:
|
static |
Calculates the shortest angle between two angles.
a | The first angle, in degrees. |
b | The second angle, in degrees. |