Prepare for follow-on change

This commit is contained in:
Hanno Braun 2025-02-24 20:05:26 +01:00
parent 1f914948c7
commit 8dbb2e4a95

View File

@ -10,10 +10,15 @@ pub struct Sketch {
impl Sketch {
pub fn to_face(&self, surface: Plane) -> Face {
let vertices = self.points.iter().copied().map(|point| {
let point = surface.point_from_local(point);
Handle::new(Vertex::new(point))
});
let vertices = self
.points
.iter()
.copied()
.map(|point| {
let point = surface.point_from_local(point);
Handle::new(Vertex::new(point))
})
.collect::<Vec<_>>();
let half_edges = vertices
.into_iter()