Acos
From GameStudio Wiki
Arc cosine function - the opposite of the cos function, returns an angle for a given cosine value.
Contents |
[edit]
Parameters
x - cosine value (-1 ... 1 ).
[edit]
Returns
Angle (0 ... 360).
[edit]
Speed
fast
[edit]
Example
x = acos(0); // x is 90 x = acos(0.707); // x is 45 x = cos(45); // x is 0.707
[edit]
