ValveSoftware / steam-audio

Steam Audio
https://valvesoftware.github.io/steam-audio/
Apache License 2.0
2.2k stars 152 forks source link

Fix Broken DipoleWeight Validation #342

Closed maxiboch closed 2 months ago

maxiboch commented 2 months ago
VALIDATE(IPLfloat32, value->dipoleWeight, (0.0f <= value->dipoleWeight && 1.0f <= value->dipoleWeight)); \

is intended to ensure the value is between 0 & 1, but as is, it is testing if the value is greater than or equal to 0 & also greater than or equal to 1.