diff options
Diffstat (limited to 'common/math_defs.h')
-rw-r--r-- | common/math_defs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/math_defs.h b/common/math_defs.h index 8ce93d0a..04d73f42 100644 --- a/common/math_defs.h +++ b/common/math_defs.h @@ -40,7 +40,7 @@ static inline float cbrtf(float f) } #endif -#define DEG2RAD(x) ((float)(x) * (F_PI/180.0f)) -#define RAD2DEG(x) ((float)(x) * (180.0f/F_PI)) +#define DEG2RAD(x) ((float)(x) * (float)(M_PI/180.0)) +#define RAD2DEG(x) ((float)(x) * (float)(180.0/M_PI)) #endif /* AL_MATH_DEFS_H */ |