From 82097a1c794ba2e0483c739101be20e9869a2f07 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Fri, 16 Oct 2020 11:54:44 -0400 Subject: [PATCH] Remove unused function --- viewport/viewport.go | 4 ---- 1 file changed, 4 deletions(-) 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)) -}