diff options
author | Chris Robinson <[email protected]> | 2018-12-26 22:27:34 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-26 22:27:34 -0800 |
commit | d367093c0616e561a14ca1c486aff99cde98f4be (patch) | |
tree | 42401356036220bdb993171a3da73ca9f1c97403 /OpenAL32/Include/alu.h | |
parent | a4ac43b60294c5e21913c977942b19f174407d85 (diff) |
Use std::array for appropriate source and listener properties
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r-- | OpenAL32/Include/alu.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 775d34f6..7a378562 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -155,10 +155,11 @@ struct ALvoicePropsBase { ALfloat RefDistance; ALfloat MaxDistance; ALfloat RolloffFactor; - ALfloat Position[3]; - ALfloat Velocity[3]; - ALfloat Direction[3]; - ALfloat Orientation[2][3]; + std::array<ALfloat,3> Position; + std::array<ALfloat,3> Velocity; + std::array<ALfloat,3> Direction; + std::array<ALfloat,3> OrientAt; + std::array<ALfloat,3> OrientUp; ALboolean HeadRelative; DistanceModel mDistanceModel; Resampler mResampler; @@ -174,7 +175,7 @@ struct ALvoicePropsBase { ALfloat RoomRolloffFactor; ALfloat DopplerFactor; - ALfloat StereoPan[2]; + std::array<ALfloat,2> StereoPan; ALfloat Radius; |