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

(cherry picked from commit fa0683ed30)
This commit is contained in:
Yuri Roubinsky 2020-12-15 22:28:05 +03:00 committed by Rémi Verschelde
parent d097c0213c
commit bafbb238af
No known key found for this signature in database
GPG key ID: C3336907360768E1
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@
<argument index="0" name="b" type="Vector2"> <argument index="0" name="b" type="Vector2">
</argument> </argument>
<description> <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> </description>
</method> </method>
<method name="distance_squared_to"> <method name="distance_squared_to">

View file

@ -91,7 +91,7 @@
<argument index="0" name="b" type="Vector3"> <argument index="0" name="b" type="Vector3">
</argument> </argument>
<description> <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> </description>
</method> </method>
<method name="distance_squared_to"> <method name="distance_squared_to">