Allow min/max values for clamping or wrapping around (useful for angles)