mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Remove unused function
This commit is contained in:
parent
09f6736497
commit
d97ceca647
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue