2
0
Эх сурвалжийг харах

Fix incorrect documentation for Vector2.angle()

(cherry picked from commit 299c3ec1c19630514afb90034e5c3bfe7022db73)
Aaron Franke 5 жил өмнө
parent
commit
3fd7c33f39

+ 1 - 1
doc/classes/Vector2.xml

@@ -34,7 +34,7 @@
 			</return>
 			<description>
 				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].
 			</description>
 		</method>
 		<method name="angle_to">