mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-16 00:08:14 +00:00
renamed SDL PI constants to SDL_PI_D and SDL_PI_F.
This commit is contained in:
@@ -122,7 +122,7 @@ SDLgfx_rotozoomSurfaceSizeTrig(int width, int height, double angle, const SDL_FP
|
||||
double sinangle;
|
||||
double cosangle;
|
||||
|
||||
radangle = angle * (SDL_M_PIl / 180.0);
|
||||
radangle = angle * (SDL_PI_D / 180.0);
|
||||
sinangle = SDL_sin(radangle);
|
||||
cosangle = SDL_cos(radangle);
|
||||
|
||||
|
Reference in New Issue
Block a user