diff --git a/Engine.Core/Primitives/ColorHSV.cs b/Engine.Core/Primitives/ColorHSV.cs index 85e88b2..1772e64 100644 --- a/Engine.Core/Primitives/ColorHSV.cs +++ b/Engine.Core/Primitives/ColorHSV.cs @@ -80,14 +80,6 @@ public readonly struct ColorHSV(float hue, float saturation, float value) /// The result of dividing the by the scalar value. public static ColorHSV Divide(ColorHSV color, float value) => color / value; - /// - /// Calculates the from one point to another. - /// - /// The starting point. - /// The ending point. - /// The from the starting point to the ending point. - public static ColorHSV FromTo(ColorHSV from, ColorHSV to) => to - from; - /// /// Performs linear interpolation between two s. /// @@ -144,9 +136,6 @@ public static class ColorHSVExtensions /// public static ColorHSV Divide(this ColorHSV color, float value) => ColorHSV.Divide(color, value); - /// - public static ColorHSV FromTo(this ColorHSV from, ColorHSV to) => ColorHSV.FromTo(from, to); - /// public static ColorHSV Lerp(this ColorHSV from, ColorHSV to, float t) => ColorHSV.Lerp(from, to, t); diff --git a/Engine.Core/Primitives/ColorRGB.cs b/Engine.Core/Primitives/ColorRGB.cs index e5460f8..1171a17 100644 --- a/Engine.Core/Primitives/ColorRGB.cs +++ b/Engine.Core/Primitives/ColorRGB.cs @@ -80,14 +80,6 @@ public readonly struct ColorRGB(byte r, byte g, byte b) /// The result of dividing the by the scalar value. public static ColorRGB Divide(ColorRGB color, float value) => color / value; - /// - /// Calculates the from one point to another. - /// - /// The starting point. - /// The ending point. - /// The from the starting point to the ending point. - public static ColorRGB FromTo(ColorRGB from, ColorRGB to) => to - from; - /// /// Performs linear interpolation between two s. /// @@ -134,9 +126,6 @@ public static class ColorRGBExtensions /// public static ColorRGB Divide(this ColorRGB color, float value) => ColorRGB.Divide(color, value); - /// - public static ColorRGB FromTo(this ColorRGB from, ColorRGB to) => ColorRGB.FromTo(from, to); - /// public static ColorRGB Lerp(this ColorRGB from, ColorRGB to, float t) => ColorRGB.Lerp(from, to, t); } diff --git a/Engine.Core/Primitives/ColorRGBA.cs b/Engine.Core/Primitives/ColorRGBA.cs index 67b6464..2e7deb5 100644 --- a/Engine.Core/Primitives/ColorRGBA.cs +++ b/Engine.Core/Primitives/ColorRGBA.cs @@ -109,14 +109,6 @@ public readonly struct ColorRGBA(byte r, byte g, byte b, byte a = 255) /// The result of dividing the by the scalar value. public static ColorRGBA Divide(ColorRGBA color, float value) => color / value; - /// - /// Calculates the from one point to another. - /// - /// The starting point. - /// The ending point. - /// The from the starting point to the ending point. - public static ColorRGBA FromTo(ColorRGBA from, ColorRGBA to) => to - from; - /// /// Performs linear interpolation between two s. /// @@ -163,9 +155,6 @@ public static class ColorRGBAExtensions /// public static ColorRGBA Divide(this ColorRGBA color, float value) => ColorRGBA.Divide(color, value); - /// - public static ColorRGBA FromTo(this ColorRGBA from, ColorRGBA to) => ColorRGBA.FromTo(from, to); - /// public static ColorRGBA Lerp(this ColorRGBA from, ColorRGBA to, float t) => ColorRGBA.Lerp(from, to, t); }