Skip to content

Commit a498231

Browse files
committed
Merge pull request #118333 from Joy-less/improve-MoveToward-doc
Improve `MoveToward` docs in C#
2 parents c368279 + cf8e2be commit a498231

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

modules/mono/glue/GodotSharp/GodotSharp/Core/Vector2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ public readonly Axis MinAxisIndex()
514514
}
515515

516516
/// <summary>
517-
/// Moves this vector toward <paramref name="to"/> by the fixed <paramref name="delta"/> amount.
517+
/// Returns a new vector moved toward <paramref name="to"/> by the fixed <paramref name="delta"/> amount. Will not go past the final value.
518518
/// </summary>
519519
/// <param name="to">The vector to move towards.</param>
520520
/// <param name="delta">The amount to move towards by.</param>

modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ public readonly Axis MinAxisIndex()
525525
}
526526

527527
/// <summary>
528-
/// Moves this vector toward <paramref name="to"/> by the fixed <paramref name="delta"/> amount.
528+
/// Returns a new vector moved toward <paramref name="to"/> by the fixed <paramref name="delta"/> amount. Will not go past the final value.
529529
/// </summary>
530530
/// <param name="to">The vector to move towards.</param>
531531
/// <param name="delta">The amount to move towards by.</param>

0 commit comments

Comments
 (0)