Method ClampCoord
ClampCoord(float, float, float)
Returns coordinate value clamped to the inclusive range of min and max.
public static float ClampCoord(float v, float min, float max)
Parameters
vfloatThe value to be clamped.
minfloatThe lower bound of the result.
maxfloatThe upper bound of the result.