Homeworld 2 :
Functionatan2
Karos Graveyard
::
Function Reference
::
Scope Reference
::
Variable Reference
atan2(<fY>, <fX>)
Description
Returns the angle (in degrees) from the X axis to a point (<fY>, <fX>).
Example
Arguments
<fY>
: the y-coordinate of the point.
<fX>
: the x-coordinate of the point.
Related Functions
Function Reference
LUA 4 Manual: 6.3 Mathematical Functions
:: ::