VRageMath.MathHelperD.Clamp - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← MathHelperD
public static double Clamp(double value, double min, double max)
Restricts a value to be within a specified range. Reference page contains links to related code samples.