summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-07-03 09:51:24 +0200
committerGitHub <noreply@github.com>2020-07-03 09:51:24 +0200
commitf0dffa5f1d63ab944e3e6a28e68184773996a721 (patch)
tree9a842e43ab06477124526689e96e266b61adf9dd
parentaa564739dde144687ad71dae853cc3aa4d49153f (diff)
parent299c3ec1c19630514afb90034e5c3bfe7022db73 (diff)
Merge pull request #40077 from aaronfranke/doc-vec2-angle
Fix incorrect documentation for Vector2.angle()
-rw-r--r--doc/classes/Vector2.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml
index 7f4a212679..32895310d1 100644
--- a/doc/classes/Vector2.xml
+++ b/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">