aboutsummaryrefslogtreecommitdiffstats
path: root/al
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-01-27 04:04:41 -0800
committerChris Robinson <[email protected]>2022-01-27 04:04:41 -0800
commit619249371a40f03cf988d1f5750d643df797c485 (patch)
treee16d0fdfc8e89004766be4d058d87c47f569a384 /al
parentf8ac1ffe805b13c8b1cd2bc4d4a8362cbe1c2cbe (diff)
Remove math_defs.h
Diffstat (limited to 'al')
-rw-r--r--al/source.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/al/source.h b/al/source.h
index 474d0a91..25ece822 100644
--- a/al/source.h
+++ b/al/source.h
@@ -19,7 +19,6 @@
#include "alnumeric.h"
#include "atomic.h"
#include "core/voice.h"
-#include "math_defs.h"
#include "vector.h"
struct ALbuffer;
@@ -79,7 +78,7 @@ struct ALsource {
/* NOTE: Stereo pan angles are specified in radians, counter-clockwise
* rather than clockwise.
*/
- std::array<float,2> StereoPan{{Deg2Rad( 30.0f), Deg2Rad(-30.0f)}};
+ std::array<float,2> StereoPan{{al::numbers::pi_v<float>/6.0f, -al::numbers::pi_v<float>/6.0f}};
float Radius{0.0f};
float EnhWidth{0.593f};