mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-25 17:46:08 +00:00
Refactor to prepare for follow-on change
This commit is contained in:
parent
35b731d850
commit
4d8d57728b
@ -91,13 +91,14 @@ pub trait BuildShell {
|
||||
.zip_ext([[a, b], [b, c], [c, a]])
|
||||
.zip_ext(curves_and_boundaries)
|
||||
.map(|((vertex, positions), (curve, boundary))| {
|
||||
HalfEdge::line_segment(
|
||||
let half_edge = HalfEdge::line_segment(
|
||||
positions,
|
||||
Some(boundary.reverse().inner),
|
||||
core,
|
||||
)
|
||||
.update_start_vertex(|_, _| vertex, core)
|
||||
.update_curve(|_, _| curve, core)
|
||||
);
|
||||
half_edge
|
||||
.update_start_vertex(|_, _| vertex, core)
|
||||
.update_curve(|_, _| curve, core)
|
||||
})
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user