From d97ceca6479aabfacbbb954316bdd70c339edea6 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Sat, 5 Mar 2022 19:44:21 +0000 Subject: [PATCH] Remove unused function --- agb/src/display/tiled/map.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/agb/src/display/tiled/map.rs b/agb/src/display/tiled/map.rs index c38bc293..81893d75 100644 --- a/agb/src/display/tiled/map.rs +++ b/agb/src/display/tiled/map.rs @@ -181,13 +181,3 @@ impl<'a, T> Drop for MapLoan<'a, T> { .set(self.background_id as usize, false); } } - -fn div_ceil(x: i32, y: i32) -> i32 { - if x > 0 && y > 0 { - (x - 1) / y + 1 - } else if x < 0 && y < 0 { - (x + 1) / y + 1 - } else { - x / y - } -}