cleanup and new grid

This commit is contained in:
Marc Planard 2023-06-10 18:47:04 +02:00
parent 81de6728fc
commit 9a5db444a0
8 changed files with 83 additions and 33 deletions

View file

@ -13,12 +13,6 @@ pub struct Rotate {
}
impl Rotate {
pub fn new(cx: f32, cy: f32, angle: f32) -> Self {
Self { cx, cy, angle: angle / 180. * PI}
}
}
impl Transformers for Rotate {
fn apply(&self, point_list: &[Point]) -> Vec<Point> {
point_list.iter()