Allow Vector2/3 slerp values to have any length

This commit is contained in:
Aaron Franke
2021-12-12 12:19:47 -08:00
parent f5d281d55f
commit 064036d786
4 changed files with 22 additions and 9 deletions

View File

@@ -299,7 +299,7 @@
<argument index="1" name="weight" type="float" />
<description>
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].
</description>
</method>
<method name="slide" qualifiers="const">