diff --git a/limits.go b/limits.go index cd11839..00d5955 100644 --- a/limits.go +++ b/limits.go @@ -14,6 +14,6 @@ func Max[N Number](a, b N) N { return b } -func Limit[N Number](v, min, max N) N { +func Clamp[N Number](v, min, max N) N { return Min(Max(v, min), max) }