From 3fd7c33f39427420e0335beff1680d6b1ab975ee Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Thu, 2 Jul 2020 22:52:37 -0400 Subject: [PATCH] Fix incorrect documentation for Vector2.angle() (cherry picked from commit 299c3ec1c19630514afb90034e5c3bfe7022db73) --- doc/classes/Vector2.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml index feb468b4a4..d67a72e2de 100644 --- a/doc/classes/Vector2.xml +++ b/doc/classes/Vector2.xml @@ -34,7 +34,7 @@ Returns the vector's angle in radians with respect to the X axis, or [code](1, 0)[/code] vector. - Equivalent to the result of [method @GDScript.atan2] when called with the vector's [member x] and [member y] as parameters: [code]atan2(x, y)[/code]. + Equivalent to the result of [method @GDScript.atan2] when called with the vector's [member y] and [member x] as parameters: [code]atan2(y, x)[/code].