Prepare for follow-on change

This commit is contained in:
Hanno Braun 2025-02-24 20:09:42 +01:00
parent 25542f76a0
commit 4f6c73dcbd

View File

@ -39,7 +39,8 @@ impl Sketch {
let half_edges = vertices
.into_iter()
.map(|start| Handle::new(HalfEdge { start }));
.circular_tuple_windows()
.map(|(start, _)| Handle::new(HalfEdge { start }));
Face::new(surface, half_edges)
}