Revert "we really should be using round, but why is it worse?"

This reverts commit 81f6de2a8f.
This commit is contained in:
Henry Schimke
2022-10-11 08:12:25 -05:00
parent 17c2fc3a79
commit b43ef07382
4 changed files with 4 additions and 4 deletions

View File

@@ -620,7 +620,7 @@ impl FinderPatternFinder {
return (((fnp.getX() - center.getX().abs())
- (fnp.getY() - center.getY()).abs())
/ 2.0)
.round() as u32;
.floor() as u32;
}
}
}