Skip to content

Commit

Permalink
Refactor to prepare for follow-on change
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Mar 14, 2024
1 parent f803884 commit ee9dc0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/fj-core/src/operations/update/half_edge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit ee9dc0d

Please sign in to comment.