renamed SDL PI constants to SDL_PI_D and SDL_PI_F.

This commit is contained in:
Ozkan Sezer 2022-11-25 22:35:24 +03:00
parent 199423612c
commit 0b8309da0c
19 changed files with 150 additions and 150 deletions

View file

@ -3679,7 +3679,7 @@ SDL_RenderCopyExF(SDL_Renderer * renderer, SDL_Texture * texture,
float s_minx, s_miny, s_maxx, s_maxy;
float c_minx, c_miny, c_maxx, c_maxy;
const float radian_angle = (float)((SDL_M_PIl * angle) / 180.0);
const float radian_angle = (float)((SDL_PI_D * angle) / 180.0);
const float s = SDL_sinf(radian_angle);
const float c = SDL_cosf(radian_angle);