Added a note describing a code behind Vector2/3.direction_to

This commit is contained in:
Yuri Roubinsky
2020-12-15 22:28:05 +03:00
parent 6ccc6b6e28
commit fa0683ed30
2 changed files with 2 additions and 2 deletions

View File

@@ -149,7 +149,7 @@
<argument index="0" name="b" type="Vector2">
</argument>
<description>
Returns the normalized vector pointing from this vector to [code]b[/code].
Returns the normalized vector pointing from this vector to [code]b[/code]. This is equivalent to using [code](b - a).normalized()[/code].
</description>
</method>
<method name="distance_squared_to">

View File

@@ -117,7 +117,7 @@
<argument index="0" name="b" type="Vector3">
</argument>
<description>
Returns the normalized vector pointing from this vector to [code]b[/code].
Returns the normalized vector pointing from this vector to [code]b[/code]. This is equivalent to using [code](b - a).normalized()[/code].
</description>
</method>
<method name="distance_squared_to">