mirror of
https://github.com/hannobraun/Fornjot
synced 2025-08-07 09:46:06 +00:00
Simplify
This commit is contained in:
parent
b95b027d92
commit
654d837c24
@ -59,17 +59,14 @@ fn build_connecting_faces(bottom: &Face, top: &Face) -> Vec<Handle<Face>> {
|
|||||||
.zip(top.half_edges_with_end_vertex())
|
.zip(top.half_edges_with_end_vertex())
|
||||||
.map(
|
.map(
|
||||||
|(
|
|(
|
||||||
HalfEdgeWithEndVertex {
|
bottom,
|
||||||
half_edge: bottom_half_edge,
|
|
||||||
end_vertex: bottom_half_edge_end,
|
|
||||||
},
|
|
||||||
HalfEdgeWithEndVertex {
|
HalfEdgeWithEndVertex {
|
||||||
half_edge: top_half_edge,
|
half_edge: top_half_edge,
|
||||||
end_vertex: top_half_edge_end,
|
end_vertex: top_half_edge_end,
|
||||||
},
|
},
|
||||||
)| {
|
)| {
|
||||||
let is_internal = match [
|
let is_internal = match [
|
||||||
bottom_half_edge.is_internal,
|
bottom.half_edge.is_internal,
|
||||||
top_half_edge.is_internal,
|
top_half_edge.is_internal,
|
||||||
] {
|
] {
|
||||||
[true, true] => true,
|
[true, true] => true,
|
||||||
@ -82,8 +79,8 @@ fn build_connecting_faces(bottom: &Face, top: &Face) -> Vec<Handle<Face>> {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
let a = &bottom_half_edge.start;
|
let a = &bottom.half_edge.start;
|
||||||
let b = bottom_half_edge_end;
|
let b = bottom.end_vertex;
|
||||||
let c = top_half_edge_end;
|
let c = top_half_edge_end;
|
||||||
let d = &top_half_edge.start;
|
let d = &top_half_edge.start;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user