mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Added a note describing a code behind Vector2/3.direction_to
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user