mirror of
https://github.com/hannobraun/Fornjot
synced 2025-08-05 00:36:15 +00:00
Add variable to increase clarity
This commit is contained in:
parent
24e0b0cbca
commit
aec37de69b
@ -114,21 +114,19 @@ impl SplitFace for Shell {
|
|||||||
.unwrap()
|
.unwrap()
|
||||||
.path,
|
.path,
|
||||||
);
|
);
|
||||||
|
let end = core.layers.geometry.of_half_edge(&d).start_position(
|
||||||
|
&core
|
||||||
|
.layers
|
||||||
|
.geometry
|
||||||
|
.of_curve(d.curve())
|
||||||
|
.unwrap()
|
||||||
|
.local_on(face.surface())
|
||||||
|
.unwrap()
|
||||||
|
.path,
|
||||||
|
);
|
||||||
|
|
||||||
let (half_edge, boundary) = HalfEdge::line_segment(
|
let (half_edge, boundary) = HalfEdge::line_segment(
|
||||||
[
|
[start, end],
|
||||||
start,
|
|
||||||
core.layers.geometry.of_half_edge(&d).start_position(
|
|
||||||
&core
|
|
||||||
.layers
|
|
||||||
.geometry
|
|
||||||
.of_curve(d.curve())
|
|
||||||
.unwrap()
|
|
||||||
.local_on(face.surface())
|
|
||||||
.unwrap()
|
|
||||||
.path,
|
|
||||||
),
|
|
||||||
],
|
|
||||||
face.surface().clone(),
|
face.surface().clone(),
|
||||||
core,
|
core,
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user