Remove some unnecessary casts
[openal-soft.git] / al / listener.h
blob7a4ff530f72e2c91ef98c7c551aac6d7e9888546
1 #ifndef AL_LISTENER_H
2 #define AL_LISTENER_H
4 #include <array>
6 #include "AL/efx.h"
8 #include "almalloc.h"
11 struct ALlistener {
12 std::array<float,3> Position{{0.0f, 0.0f, 0.0f}};
13 std::array<float,3> Velocity{{0.0f, 0.0f, 0.0f}};
14 std::array<float,3> OrientAt{{0.0f, 0.0f, -1.0f}};
15 std::array<float,3> OrientUp{{0.0f, 1.0f, 0.0f}};
16 float Gain{1.0f};
17 float mMetersPerUnit{AL_DEFAULT_METERS_PER_UNIT};
19 DISABLE_ALLOC
22 #endif