From 55f3bd97a270b691c26d6eda70bc7c0a3ec8f4e8 Mon Sep 17 00:00:00 2001 From: Chaosus Date: Wed, 27 Mar 2019 13:51:05 +0300 Subject: Added direction_to method to vectors --- doc/classes/Vector2.xml | 9 +++++++++ doc/classes/Vector3.xml | 9 +++++++++ 2 files changed, 18 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml index 1770dec80d..0cbfc87e78 100644 --- a/doc/classes/Vector2.xml +++ b/doc/classes/Vector2.xml @@ -112,6 +112,15 @@ Cubicly interpolates between this vector and [code]b[/code] using [code]pre_a[/code] and [code]post_b[/code] as handles, and returns the result at position [code]t[/code]. [code]t[/code] is in the range of [code]0.0 - 1.0[/code], representing the amount of interpolation. + + + + + + + Returns the normalized vector pointing from this vector to [code]b[/code]. + + diff --git a/doc/classes/Vector3.xml b/doc/classes/Vector3.xml index 48856875e7..b1c3b44a1c 100644 --- a/doc/classes/Vector3.xml +++ b/doc/classes/Vector3.xml @@ -81,6 +81,15 @@ Performs a cubic interpolation between vectors [code]pre_a[/code], [code]a[/code], [code]b[/code], [code]post_b[/code] ([code]a[/code] is current), by the given amount [code]t[/code]. [code]t[/code] is in the range of [code]0.0 - 1.0[/code], representing the amount of interpolation. + + + + + + + Returns the normalized vector pointing from this vector to [code]b[/code]. + + -- cgit v1.2.3