Clamp
Summary
public static Vector2D Clamp(Vector2D value1, Vector2D min, Vector2D max)
Restricts a value to be within a specified range.
Returns
Parameters
Summary
public static void Clamp(ref Vector2D value1, ref Vector2D min, ref Vector2D max, out Vector2D result)
Restricts a value to be within a specified range.