From 064036d7867a5ac180851aa60707478493182c5c Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sun, 12 Dec 2021 12:19:47 -0800 Subject: Allow Vector2/3 slerp values to have any length --- doc/classes/Vector2.xml | 2 +- doc/classes/Vector3.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/classes') diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml index e7faa3ef0f..64256f33fd 100644 --- a/doc/classes/Vector2.xml +++ b/doc/classes/Vector2.xml @@ -299,7 +299,7 @@ Returns the result of spherical linear interpolation between this vector and [code]to[/code], by amount [code]weight[/code]. [code]weight[/code] is on the range of 0.0 to 1.0, representing the amount of interpolation. - [b]Note:[/b] Both vectors must be normalized. + This method also handles interpolating the lengths if the input vectors have different lengths. For the special case of one or both input vectors having zero length, this method behaves like [method lerp]. diff --git a/doc/classes/Vector3.xml b/doc/classes/Vector3.xml index 8d2ef0ecd9..ead08d86df 100644 --- a/doc/classes/Vector3.xml +++ b/doc/classes/Vector3.xml @@ -290,7 +290,7 @@ Returns the result of spherical linear interpolation between this vector and [code]to[/code], by amount [code]weight[/code]. [code]weight[/code] is on the range of 0.0 to 1.0, representing the amount of interpolation. - [b]Note:[/b] Both vectors must be normalized. + This method also handles interpolating the lengths if the input vectors have different lengths. For the special case of one or both input vectors having zero length, this method behaves like [method lerp]. -- cgit v1.2.3