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