diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-03 09:51:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-03 09:51:24 +0200 |
commit | f0dffa5f1d63ab944e3e6a28e68184773996a721 (patch) | |
tree | 9a842e43ab06477124526689e96e266b61adf9dd | |
parent | aa564739dde144687ad71dae853cc3aa4d49153f (diff) | |
parent | 299c3ec1c19630514afb90034e5c3bfe7022db73 (diff) |
Merge pull request #40077 from aaronfranke/doc-vec2-angle
Fix incorrect documentation for Vector2.angle()
-rw-r--r-- | doc/classes/Vector2.xml | 2 |
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"> |