[algo] Fix typo

This commit is contained in:
Lorenzo Cogotti 2023-11-01 11:19:13 +01:00
parent 9fa38d17a2
commit 08ac115ea2
1 changed files with 1 additions and 1 deletions

View File

@ -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