mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-10 04:48:29 +00:00
Refactor to prepare for follow-on change
This commit is contained in:
parent
1c452196dc
commit
5e4594fa65
@ -106,13 +106,17 @@ pub trait BuildHalfEdge {
|
|||||||
boundary.zip_ext(points_surface),
|
boundary.zip_ext(points_surface),
|
||||||
);
|
);
|
||||||
|
|
||||||
HalfEdge::unjoined(core).insert(core).set_geometry(
|
let half_edge = HalfEdge::unjoined(core).insert(core);
|
||||||
|
|
||||||
|
core.layers.geometry.define_half_edge(
|
||||||
|
half_edge.clone(),
|
||||||
HalfEdgeGeom {
|
HalfEdgeGeom {
|
||||||
path,
|
path,
|
||||||
boundary: boundary.into(),
|
boundary: boundary.into(),
|
||||||
},
|
},
|
||||||
&mut core.layers.geometry,
|
);
|
||||||
)
|
|
||||||
|
half_edge
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user