floatatan2

Синтаксис

native Float:floatatan2(Float:x, Float:y, {anglemode,_}:radix);

Употреба

x
Value representing the proportion of the x-coordinate.
y
Value representing the proportion of the x-coordinate.
mode
What unit of measurement should the output angle be in

Описание

Computes the principal value of arctangent of y/x

Забележка

Someone should verify this native, not sure what it actually does.

Забележка

For available units of measurements(modes) look at the anglemode enum

Връщаща стойност

Arctangent of y/x