1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Fix Slerp C# docs and add test cases for vectors in the same direction

This commit is contained in:
Aaron Franke
2022-03-12 13:20:55 -06:00
parent d7019de7e3
commit 89c4990274
4 changed files with 12 additions and 4 deletions

View File

@@ -511,8 +511,9 @@ namespace Godot
/// Returns the result of the spherical linear interpolation between
/// this vector and <paramref name="to"/> by amount <paramref name="weight"/>.
///
/// 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].
/// 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 <see cref="Lerp"/>.
/// </summary>
/// <param name="to">The destination vector for interpolation.</param>
/// <param name="weight">A value on the range of 0.0 to 1.0, representing the amount of interpolation.</param>

View File

@@ -551,8 +551,9 @@ namespace Godot
/// Returns the result of the spherical linear interpolation between
/// this vector and <paramref name="to"/> by amount <paramref name="weight"/>.
///
/// 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].
/// 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 <see cref="Lerp"/>.
/// </summary>
/// <param name="to">The destination vector for interpolation.</param>
/// <param name="weight">A value on the range of 0.0 to 1.0, representing the amount of interpolation.</param>