[algo] Fix typo

master
Lorenzo Cogotti 6 months ago
parent 9fa38d17a2
commit 08ac115ea2

@ -14,7 +14,7 @@ local algo = {}
--
-- @number x value to clamp.
-- @number a interval lower bound (inclusive).
-- @number b interval upper bound (includive).
-- @number b interval upper bound (inclusive).
-- @treturn number clamped value.
function algo.clamp(x, a, b) return min(max(x, a), b) end

Loading…
Cancel
Save