aboutsummaryrefslogtreecommitdiffstats
path: root/alc/hrtf.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-11-16 14:07:31 -0800
committerChris Robinson <[email protected]>2019-11-16 14:07:31 -0800
commit6ad252efdaf2f4a9ed569097c35b8b781f9f1d50 (patch)
tree313561c05e9f1972f9b10881a44506e93814edaa /alc/hrtf.h
parentd120e1464f1760b5b231321c0e68963ad633133f (diff)
Use wrappers to distinguish elevation and azimuth values
Diffstat (limited to 'alc/hrtf.h')
-rw-r--r--alc/hrtf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/alc/hrtf.h b/alc/hrtf.h
index a81ebfed..98df801b 100644
--- a/alc/hrtf.h
+++ b/alc/hrtf.h
@@ -88,9 +88,11 @@ struct DirectHrtfState {
DEF_FAM_NEWDEL(DirectHrtfState, Coeffs)
};
+struct ElevRadius { float value; };
+struct AzimRadius { float value; };
struct AngularPoint {
- ALfloat Elev;
- ALfloat Azim;
+ ElevRadius Elev;
+ AzimRadius Azim;
};