mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
2 lines
58 B
Python
2 lines
58 B
Python
def clamp(x, low, high):
|
|
return max(low, min(x, high)) |