mirror of
https://github.com/hannobraun/Fornjot
synced 2025-09-29 20:48:30 +00:00
Refactor to prepare for follow-on change
This commit is contained in:
parent
f8038849d9
commit
ee9dc0de0f
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user