Forráskód Böngészése

Merge pull request #40077 from aaronfranke/doc-vec2-angle

Fix incorrect documentation for Vector2.angle()
Rémi Verschelde 5 éve
szülő
commit
f0dffa5f1d
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      doc/classes/Vector2.xml

+ 1 - 1
doc/classes/Vector2.xml

@@ -44,7 +44,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">