Fix arguments of Atan2 to match ExtMath.h

This commit is contained in:
Caleb Butler 2023-10-05 09:08:48 -04:00
parent cc933ced82
commit 0d97d58edc

View File

@ -394,7 +394,7 @@ double Atan(double x) {
* Associated math function: atan2(y, x)
* Allowed input range: anything
*/
double Math_Atan2(double y, double x) {
double Math_Atan2(double x, double y) {
if (x > 0)
return Atan(y / x);
if (x < 0) {