#include <nitro/fx/fx_trig.h>
u16 FX_Atan2Idx( fx32 y, fx32 x );
This finds the arctangent of y/x. The results are returned in u16 format. The units of the result are equal to 1/65536 of a circle (2π radians). (Example: A right angle would be 16384.) Internally, a table is referenced.
y |
fx32 format fixed decimal places |
x |
fx32 format fixed decimal places |
Arctangent of y/x
06/16/2004