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

Fix incorrect documentation for Vector2.angle()
This commit is contained in:
Rémi Verschelde 2020-07-03 09:51:24 +02:00 committed by GitHub
commit f0dffa5f1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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">