mirror of
https://codeberg.org/1414codeforge/gear.git
synced 2025-06-05 22:09:24 +02:00
[algo] Fix typo
This commit is contained in:
parent
9fa38d17a2
commit
08ac115ea2
2
algo.lua
2
algo.lua
@ -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…
x
Reference in New Issue
Block a user