This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------ | |
-- FlappyRifk lua for Rifk7 -- | |
-- by Quadruple -- | |
-- --------------------------- | |
math.clamp = function(x, min, max) | |
if(x < min) then return min end | |
if(x > max) then return max end | |
return x | |
end |
NewerOlder