You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Updated "Vector2.angle_to" description in Vector2.xml
Added a minor detail to the description of "angle_to" so that it specifies that the returned angle is signed. Hopefully helps others not to waste several hours not realizing this.
This commit is contained in:
@@ -67,7 +67,7 @@
|
|||||||
<return type="float" />
|
<return type="float" />
|
||||||
<param index="0" name="to" type="Vector2" />
|
<param index="0" name="to" type="Vector2" />
|
||||||
<description>
|
<description>
|
||||||
Returns the angle to the given vector, in radians.
|
Returns the signed angle to the given vector, in radians.
|
||||||
[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/vector2_angle_to.png]Illustration of the returned angle.[/url]
|
[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/vector2_angle_to.png]Illustration of the returned angle.[/url]
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
|||||||
Reference in New Issue
Block a user