Guest User

Untitled

a guest
Sep 16th, 2016
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function int Clamp(int i, int min, int max)
  2. {
  3. if (i < min) return min;
  4. if (i > max) return max;
  5. return i;
  6. }
Add Comment
Please, Sign In to add comment