VRageMath.Vector3D.Clamp - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← Vector3D
public static Vector3D Clamp(Vector3D value1, Vector3D min, Vector3D max)
Restricts a value to be within a specified range.
public static void Clamp(ref Vector3D value1, ref Vector3D min, ref Vector3D max, out Vector3D result)
Restricts a value to be within a specified range.