Add variable to increase clarity

This commit is contained in:
Hanno Braun 2024-06-28 19:33:49 +02:00
parent 24e0b0cbca
commit aec37de69b

View File

@ -114,11 +114,7 @@ impl SplitFace for Shell {
.unwrap() .unwrap()
.path, .path,
); );
let end = core.layers.geometry.of_half_edge(&d).start_position(
let (half_edge, boundary) = HalfEdge::line_segment(
[
start,
core.layers.geometry.of_half_edge(&d).start_position(
&core &core
.layers .layers
.geometry .geometry
@ -127,8 +123,10 @@ impl SplitFace for Shell {
.local_on(face.surface()) .local_on(face.surface())
.unwrap() .unwrap()
.path, .path,
), );
],
let (half_edge, boundary) = HalfEdge::line_segment(
[start, end],
face.surface().clone(), face.surface().clone(),
core, core,
); );