fix: Renamed Vector2D.Subdivide to Divide

This commit is contained in:
Syntriax 2024-02-01 12:47:54 +03:00
parent 81a0cf645a
commit 09a8e71fe3
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ public static class Vector2DExtensions
/// <param name="vector">The <see cref="Vector2D"/> to divide.</param>
/// <param name="value">The scalar value to divide with.</param>
/// <returns>The result of the division.</returns>
public static Vector2D Subdivide(this Vector2D vector, float value) => Vector2D.Subdivide(vector, value);
public static Vector2D Divide(this Vector2D vector, float value) => Vector2D.Divide(vector, value);
/// <summary>
/// Returns a <see cref="Vector2D"/> with the absolute values of each component.

View File

@ -131,7 +131,7 @@ public readonly struct Vector2D(float x, float y)
/// <param name="vector">The <see cref="Vector2D"/>.</param>
/// <param name="value">The scalar value.</param>
/// <returns>The result of dividing the <see cref="Vector2D"/> by the scalar value.</returns>
public static Vector2D Subdivide(Vector2D vector, float value) => vector / value;
public static Vector2D Divide(Vector2D vector, float value) => vector / value;
/// <summary>
/// Calculates the absolute value of each component of the vector.