From ed2bb90ca5cb2fcc9124ee5b35f39701edb199ad Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sun, 27 Apr 2025 11:12:57 -0400 Subject: [PATCH] Fix incorrect param order and docs on ArcTangent2 (fixes #2312) --- plugins/include/float.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/include/float.inc b/plugins/include/float.inc index 8d40df7f..80824e85 100644 --- a/plugins/include/float.inc +++ b/plugins/include/float.inc @@ -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.