aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-02-17 22:12:54 -0800
committerChris Robinson <[email protected]>2018-02-18 23:56:51 -0800
commit6ff50558a04c9d59f0f9bd45d4588095b95c8ec5 (patch)
treecd486900b7089bf643c17ed92244592fb2a7a1a9 /Alc/panning.c
parentfa9ab9af7cb559ff9ecc1846f2996265bfbea1ec (diff)
Use a proper struct for specifying angular points
Diffstat (limited to 'Alc/panning.c')
-rw-r--r--Alc/panning.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 08651736..37802791 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -810,7 +810,7 @@ static void InitHQPanning(ALCdevice *device, const AmbDecConf *conf, const ALsiz
static void InitHrtfPanning(ALCdevice *device)
{
/* NOTE: azimuth goes clockwise. */
- static const ALfloat AmbiPoints[][2] = {
+ static const struct AngularPoint AmbiPoints[] = {
{ DEG2RAD( 90.0f), DEG2RAD( 0.0f) },
{ DEG2RAD( 35.0f), DEG2RAD( 45.0f) },
{ DEG2RAD( 35.0f), DEG2RAD( 135.0f) },