cleanup++

This commit is contained in:
2024-11-29 18:13:38 +01:00
parent bd2f2edebb
commit 198aa0ebd0
2 changed files with 0 additions and 3 deletions

View File

@ -35,7 +35,6 @@ impl CoordinateOp for u8 {
fn distance(x1: Self, y1: Self, x2: Self, y2: Self) -> Self {
(max(x2, x1) - min(x2, x1)).saturating_add(max(y2, y1) - min(y2, y1))
//(pow(x2 as u16 - x1 as u16, 2) + pow(y2 as u16 - y1 as u16, 2)).sqrt() as u8
}
}