diff --git a/viewport/viewport.go b/viewport/viewport.go index 4de2bb4..7827f11 100644 --- a/viewport/viewport.go +++ b/viewport/viewport.go @@ -389,7 +389,3 @@ func max(a, b int) int { } return b } - -func clamp(val, low, high int) int { - return max(low, min(high, val)) -}