aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-30 22:53:47 -0700
committerChris Robinson <[email protected]>2011-09-30 22:53:47 -0700
commitbfa782f3296d94c46fea188f78cbf0e3799ee96b (patch)
treec6d328121cb1d78580bff0d62e2b51374391409e /OpenAL32/Include/alu.h
parentbed37a148c3bb1e4d61ed989cfd6b1ebb251bec0 (diff)
Define the values for F_PI and F_PI_2 directly instead of using M_PI
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r--OpenAL32/Include/alu.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index bd00e86d..a5e71ad3 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -14,13 +14,9 @@
#include <ieeefp.h>
#endif
-#ifndef M_PI
-#define M_PI 3.14159265358979323846 /* pi */
-#define M_PI_2 1.57079632679489661923 /* pi/2 */
-#endif
-#define F_PI ((float)M_PI)
-#define F_PI_2 ((float)M_PI_2)
+#define F_PI (3.14159265358979323846f) /* pi */
+#define F_PI_2 (1.57079632679489661923f) /* pi/2 */
#ifdef HAVE_POWF
#define aluPow(x,y) (powf((x),(y)))