From 299c3ec1c19630514afb90034e5c3bfe7022db73 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() --- 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 7f4a212679e..32895310d15 100644 --- a/doc/classes/Vector2.xml +++ b/doc/classes/Vector2.xml @@ -44,7 +44,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].