mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Fix incorrect documentation for Vector2.angle()
This commit is contained in:
@@ -44,7 +44,7 @@
|
|||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
Returns the vector's angle in radians with respect to the X axis, or [code](1, 0)[/code] vector.
|
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>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="angle_to">
|
<method name="angle_to">
|
||||||
|
|||||||
Reference in New Issue
Block a user