Refactor to prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-03-27 12:09:40 +01:00
parent 1a35324b5c
commit 0fde6449da

View File

@ -59,11 +59,11 @@ impl SweepHalfEdge for Handle<HalfEdge> {
let path = path.into(); let path = path.into();
let half_edge_geom = *core.layers.geometry.of_half_edge(self); let half_edge_geom = *core.layers.geometry.of_half_edge(self);
let surface = half_edge_geom.path.sweep_surface_path( let surface_geom = core.layers.geometry.of_surface(&surface);
&core.layers.geometry.of_surface(&surface), let surface =
path, half_edge_geom
core, .path
); .sweep_surface_path(&surface_geom, path, core);
// Next, we need to define the boundaries of the face. Let's start with // Next, we need to define the boundaries of the face. Let's start with
// the global vertices and edges. // the global vertices and edges.