mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-17 19:45:23 -04:00
Fix arguments of Atan2 to match ExtMath.h
This commit is contained in:
parent
cc933ced82
commit
0d97d58edc
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user