mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-07 11:28:28 +00:00
Make name of closure parameter more explicit
This commit is contained in:
parent
2eae83ed01
commit
d7159c3ba3
@ -55,7 +55,10 @@ fn build_connecting_faces(bottom: &Face, top: &Face) -> Vec<Handle<Face>> {
|
||||
.half_edges_with_end_vertex()
|
||||
.zip(top.half_edges_with_end_vertex())
|
||||
.map(
|
||||
|((bottom_half_edge, bottom_half_edge_end), (top_a, top_b))| {
|
||||
|(
|
||||
(bottom_half_edge, bottom_half_edge_end),
|
||||
(top_a, top_half_edge_end),
|
||||
)| {
|
||||
let is_internal = match [
|
||||
bottom_half_edge.is_internal,
|
||||
top_a.is_internal,
|
||||
@ -72,7 +75,7 @@ fn build_connecting_faces(bottom: &Face, top: &Face) -> Vec<Handle<Face>> {
|
||||
|
||||
let a = &bottom_half_edge.start;
|
||||
let b = bottom_half_edge_end;
|
||||
let c = top_b;
|
||||
let c = top_half_edge_end;
|
||||
|
||||
let surface = Handle::new(Surface {
|
||||
geometry: Box::new(Plane::from_points(
|
||||
|
Loading…
Reference in New Issue
Block a user