Fix incorrect param order and docs on ArcTangent2 (fixes #2312)

This commit is contained in:
Nicholas Hastings
2025-04-27 11:12:57 -04:00
parent c7410e3a35
commit ed2bb90ca5
+2 -2
View File
@@ -254,11 +254,11 @@ native float ArcSine(float angle);
/**
* Returns the arctangent2 of the input values.
*
* @param x Horizontal value.
* @param y Vertical value.
* @param x Horizontal value.
* @return atan2(value) in radians.
*/
native float ArcTangent2(float x, float y);
native float ArcTangent2(float y, float x);
/**
* Rounds a floating point number using the "round to nearest" algorithm.