partial test complete

This commit is contained in:
Henry Schimke
2023-04-24 17:42:40 -05:00
parent a811b56fbb
commit d08f67feed
8 changed files with 115 additions and 47 deletions

View File

@@ -280,6 +280,13 @@ impl Point {
y: self.y.round(),
}
}
pub fn floor(self) -> Self {
Self {
x: self.x.floor(),
y: self.y.floor()
}
}
}
impl From<&(f32, f32)> for Point {