Use this function to compute arc cosine of x
.
Defined in SDL_stdinc.h
double SDL_acos(double x);
double | x | floating point value, in radians. |
(double) Returns arc cosine of x
.
The definition of y = acos(x)
is x = cos(y)
.
Domain: -1 <= x <= 1
Range: 0 <= y <= Pi
This function is available since SDL 2.0.2.