You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not how you clamp a value between a min and max; instead, it ensures that the result is outside of the min-max range. Need to swap the use of min() and max() there, or switch to a clamp() notation now that that's well-defined.