Skip to content

Commit

Permalink
Fix #2193: Fix typo in azimuth algorithm.
Browse files Browse the repository at this point in the history
Change `<=` to `>=` as noted by @koalefant
  • Loading branch information
rtoy authored and padenot committed Apr 29, 2020
1 parent 7717681 commit f4f8560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.bs
Expand Up @@ -11762,7 +11762,7 @@ if (frontBack < 0)
azimuth = 360 - azimuth;

// Make azimuth relative to "forward" and not "right" listener vector.
if ((azimuth <= 0) && (azimuth <= 270))
if ((azimuth >= 0) && (azimuth <= 270))
azimuth = 90 - azimuth;
else
azimuth = 450 - azimuth;
Expand Down

0 comments on commit f4f8560

Please sign in to comment.