diff options
author | Chris Robinson <[email protected]> | 2020-03-23 15:04:26 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-03-23 15:04:26 -0700 |
commit | b53294e291c0e00b94639527ae84d03037029f1a (patch) | |
tree | 70e6851b61e771aa8cbb65b6d8b2f20daae920cf /al/source.cpp | |
parent | 5d0f90fed0bd9f6516d5b0ce94fa6d58057c2e48 (diff) |
Use inline initialization more for sources
Diffstat (limited to 'al/source.cpp')
-rw-r--r-- | al/source.cpp | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/al/source.cpp b/al/source.cpp index 4099f9ea..63397ec8 100644 --- a/al/source.cpp +++ b/al/source.cpp @@ -3347,51 +3347,6 @@ END_API_FUNC ALsource::ALsource() { - InnerAngle = 360.0f; - OuterAngle = 360.0f; - Pitch = 1.0f; - Position[0] = 0.0f; - Position[1] = 0.0f; - Position[2] = 0.0f; - Velocity[0] = 0.0f; - Velocity[1] = 0.0f; - Velocity[2] = 0.0f; - Direction[0] = 0.0f; - Direction[1] = 0.0f; - Direction[2] = 0.0f; - OrientAt[0] = 0.0f; - OrientAt[1] = 0.0f; - OrientAt[2] = -1.0f; - OrientUp[0] = 0.0f; - OrientUp[1] = 1.0f; - OrientUp[2] = 0.0f; - RefDistance = 1.0f; - MaxDistance = std::numeric_limits<float>::max(); - RolloffFactor = 1.0f; - Gain = 1.0f; - MinGain = 0.0f; - MaxGain = 1.0f; - OuterGain = 0.0f; - OuterGainHF = 1.0f; - - DryGainHFAuto = AL_TRUE; - WetGainAuto = AL_TRUE; - WetGainHFAuto = AL_TRUE; - AirAbsorptionFactor = 0.0f; - RoomRolloffFactor = 0.0f; - DopplerFactor = 1.0f; - HeadRelative = AL_FALSE; - Looping = AL_FALSE; - mDistanceModel = DistanceModel::Default; - mResampler = ResamplerDefault; - DirectChannels = DirectMode::Off; - mSpatialize = SpatializeAuto; - - StereoPan[0] = Deg2Rad( 30.0f); - StereoPan[1] = Deg2Rad(-30.0f); - - Radius = 0.0f; - Direct.Gain = 1.0f; Direct.GainHF = 1.0f; Direct.HFReference = LOWPASSFREQREF; |