Refactor to prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-03-14 14:38:15 +01:00
parent f8038849d9
commit ee9dc0de0f

View File

@ -52,8 +52,10 @@ impl UpdateHalfEdge for HalfEdge {
update: impl FnOnce(SurfacePath) -> SurfacePath,
core: &mut Core,
) -> Handle<Self> {
let path = update(self.path());
HalfEdge::new(
update(self.path()),
path,
self.boundary(),
self.curve().clone(),
self.start_vertex().clone(),