diff --git a/GlitchyEngine/src/Math/Math.bf b/GlitchyEngine/src/Math/Math.bf index 8ea87b1..c678b91 100644 --- a/GlitchyEngine/src/Math/Math.bf +++ b/GlitchyEngine/src/Math/Math.bf @@ -316,6 +316,11 @@ static #endregion #region min / max + + public static float min(float x, float y) + { + return Math.Min(x, y); + } public static float2 min(float2 x, float2 y) { @@ -331,6 +336,11 @@ static { return float4(Math.Min(x.X, y.X), Math.Min(x.Y, y.Y), Math.Min(x.Z, y.Z), Math.Min(x.W, y.W)); } + + public static float max(float x, float y) + { + return Math.Max(x, y); + } public static float2 max(float2 x, float2 y) {