We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc99a52 commit 485967fCopy full SHA for 485967f
1 file changed
mojoal.c
@@ -856,6 +856,7 @@ static void calculate_distance_attenuation_and_angle_scalar(const ALCcontext *ct
856
857
// Calculate angle
858
const ALfloat mags = magnitude_scalar(at) * magnitude_scalar(V);
859
+ ALfloat radians;
860
if (mags == 0.0f) {
861
radians = 0.0f;
862
} else {
0 commit comments