EyeTrackVR/EyeTrackApp/utils.py
PallasNeko 582255a698 Cleaning
Reduction of duplicate functions
Appropriate function calls
Use of safe cropping
2023-02-01 02:10:11 +09:00

2 lines
58 B
Python

def clamp(x, low, high):
return max(low, min(x, high))