From 89c49902749b4e93e98f1858fc26a32c0c2708b7 Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sat, 12 Mar 2022 13:20:55 -0600 Subject: Fix Slerp C# docs and add test cases for vectors in the same direction --- modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs | 5 +++-- modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'modules/mono') diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs index ee218cb1f8..d4b623b2ea 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs @@ -511,8 +511,9 @@ namespace Godot /// Returns the result of the spherical linear interpolation between /// this vector and by amount . /// - /// 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 . /// /// The destination vector for interpolation. /// A value on the range of 0.0 to 1.0, representing the amount of interpolation. diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs index 45e5287610..eddfa76f10 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs @@ -551,8 +551,9 @@ namespace Godot /// Returns the result of the spherical linear interpolation between /// this vector and by amount . /// - /// 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 . /// /// The destination vector for interpolation. /// A value on the range of 0.0 to 1.0, representing the amount of interpolation. -- cgit v1.2.3