Fix incorrect param order and docs on ArcTangent2 (fixes #2312)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user