diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2020-10-25 13:24:08 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-11-09 16:59:58 +0100 |
commit | 606cfa9a47a945eefa6e4f2cf64599af9f0157ab (patch) | |
tree | bee69371af7a8728e5c02a7635720c56cf76ab77 /doc/classes | |
parent | eb98fd94421b124a5848d7ee6c7ead4337222c6c (diff) |
Fix Vector2.angle_to_point() being reversed
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Vector2.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml index eaaf41561a..02770472fa 100644 --- a/doc/classes/Vector2.xml +++ b/doc/classes/Vector2.xml @@ -75,6 +75,7 @@ <argument index="0" name="to" type="Vector2" /> <description> Returns the angle between the line connecting the two points and the X axis, in radians. + [code]a.angle_to_point(b)[/code] is equivalent of doing [code](b - a).angle()[/code]. [url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/vector2_angle_to_point.png]Illustration of the returned angle.[/url] </description> </method> |