public static Vector3 AlmostClamp(Vector3 v, float epsilon) { v.X = FezMath.AlmostClamp(v.X, epsilon); v.Y = FezMath.AlmostClamp(v.Y, epsilon); v.Z = FezMath.AlmostClamp(v.Z, epsilon); return(v); }
public static float AlmostClamp(float x) { return(FezMath.AlmostClamp(x, 1.0 / 1000.0)); }
public static Vector3 AlmostClamp(Vector3 v) { return(FezMath.AlmostClamp(v, 1.0 / 1000.0)); }