Inline variable

This commit is contained in:
Hanno Braun 2023-02-21 13:21:48 +01:00
parent 4befa7c6e8
commit 01e75d14a1

View File

@ -134,8 +134,7 @@ impl Sweep for (Handle<HalfEdge>, &Surface, Color) {
[edge_bottom.write(), edge_up.write(), edge_down.write()] [edge_bottom.write(), edge_up.write(), edge_down.write()]
.zip_ext(global_edges) .zip_ext(global_edges)
.map(|(mut half_edge, global_edge)| { .map(|(mut half_edge, global_edge)| {
let global_edge = Partial::from(global_edge); half_edge.global_form = Partial::from(global_edge);
half_edge.global_form = global_edge;
}); });
// And we're done creating the face! All that's left to do is build our // And we're done creating the face! All that's left to do is build our