Fixed bug 2245 - add SDL_acos and SDL_asin
Sylvain Here's some code to add arc cosine, and arc sin functions to SDL_stdlib.c There are plainly written using SDL_atan. --HG-- extra : rebase_source : 3c92b648c11366af38fac18df85eb7d5da6fe292
This commit is contained in:
parent
0f4c048410
commit
e29d5bd5db
2 changed files with 28 additions and 0 deletions
|
@ -340,6 +340,8 @@ extern DECLSPEC int SDLCALL SDL_vsnprintf(char *text, size_t maxlen, const char
|
|||
#endif
|
||||
#endif
|
||||
|
||||
extern DECLSPEC double SDLCALL SDL_acos(double x);
|
||||
extern DECLSPEC double SDLCALL SDL_asin(double x);
|
||||
extern DECLSPEC double SDLCALL SDL_atan(double x);
|
||||
extern DECLSPEC double SDLCALL SDL_atan2(double x, double y);
|
||||
extern DECLSPEC double SDLCALL SDL_ceil(double x);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue