renamed SDL PI constants to SDL_PI_D and SDL_PI_F.

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

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ rotate_matrix(float angle, float x, float y, float z, float *r)
float radians, c, s, c1, u[3], length;
int i, j;
radians = (angle * SDL_M_PIf) / 180.0f;
radians = (angle * SDL_PI_F) / 180.0f;
c = SDL_cosf(radians);
s = SDL_sinf(radians);