Remove unused code

This commit is contained in:
Hanno Braun 2025-04-10 12:26:26 +02:00
parent 16ae87d39b
commit a05fd64a93

View File

@ -74,22 +74,6 @@ impl Sketch {
}
}
impl<I, P> From<I> for Sketch
where
I: IntoIterator<Item = P>,
P: Into<Point<2>>,
{
fn from(points: I) -> Self {
let segments = points
.into_iter()
.map(Into::into)
.map(|point| SketchSegment::Line { start: point })
.collect();
Self { segments }
}
}
#[derive(Clone, Copy)]
enum SketchSegment {
Line { start: Point<2> },