Update OpenAL-Soft to 1.17.

This commit is contained in:
Alex Szpakowski
2015-12-01 13:30:47 -04:00
parent 42816473e3
commit f8dae3ea09
22 changed files with 2764 additions and 5140 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef AL_MATH_DEFS_H
#define AL_MATH_DEFS_H
#ifdef HAVE_FLOAT_H
#include <float.h>
#endif
#define F_PI (3.14159265358979323846f)
#define F_PI_2 (1.57079632679489661923f)
#define F_TAU (6.28318530717958647692f)
#ifndef FLT_EPSILON
#define FLT_EPSILON (1.19209290e-07f)
#endif
#define DEG2RAD(x) ((ALfloat)(x) * (F_PI/180.0f))
#define RAD2DEG(x) ((ALfloat)(x) * (180.0f/F_PI))
#endif /* AL_MATH_DEFS_H */