public static Vector2 Clamp(Vector2 value, Vector2 min, Vector2 max) { var result = MonoGameVector2.Clamp(value.MonoGameVector, min.MonoGameVector, max.MonoGameVector); return(new Vector2(result)); }
public static Vector2 Clamp(Vector2 val, Vector2 min, Vector2 max) { return(new Vector2(Vector.Clamp(val, min, max))); }