mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-11 05:18:26 +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()
|
.half_edges_with_end_vertex()
|
||||||
.zip(top.half_edges_with_end_vertex())
|
.zip(top.half_edges_with_end_vertex())
|
||||||
.map(
|
.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 [
|
let is_internal = match [
|
||||||
bottom_half_edge.is_internal,
|
bottom_half_edge.is_internal,
|
||||||
top_a.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 a = &bottom_half_edge.start;
|
||||||
let b = bottom_half_edge_end;
|
let b = bottom_half_edge_end;
|
||||||
let c = top_b;
|
let c = top_half_edge_end;
|
||||||
|
|
||||||
let surface = Handle::new(Surface {
|
let surface = Handle::new(Surface {
|
||||||
geometry: Box::new(Plane::from_points(
|
geometry: Box::new(Plane::from_points(
|
||||||
|
Loading…
Reference in New Issue
Block a user