fix: Renamed Vector2D.Subdivide to Divide
This commit is contained in:
parent
81a0cf645a
commit
09a8e71fe3
|
@ -63,7 +63,7 @@ public static class Vector2DExtensions
|
||||||
/// <param name="vector">The <see cref="Vector2D"/> to divide.</param>
|
/// <param name="vector">The <see cref="Vector2D"/> to divide.</param>
|
||||||
/// <param name="value">The scalar value to divide with.</param>
|
/// <param name="value">The scalar value to divide with.</param>
|
||||||
/// <returns>The result of the division.</returns>
|
/// <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>
|
/// <summary>
|
||||||
/// Returns a <see cref="Vector2D"/> with the absolute values of each component.
|
/// Returns a <see cref="Vector2D"/> with the absolute values of each component.
|
||||||
|
|
|
@ -131,7 +131,7 @@ public readonly struct Vector2D(float x, float y)
|
||||||
/// <param name="vector">The <see cref="Vector2D"/>.</param>
|
/// <param name="vector">The <see cref="Vector2D"/>.</param>
|
||||||
/// <param name="value">The scalar value.</param>
|
/// <param name="value">The scalar value.</param>
|
||||||
/// <returns>The result of dividing the <see cref="Vector2D"/> by the scalar value.</returns>
|
/// <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>
|
/// <summary>
|
||||||
/// Calculates the absolute value of each component of the vector.
|
/// Calculates the absolute value of each component of the vector.
|
||||||
|
|
Loading…
Reference in New Issue