Skip to content

Commit

Permalink
Make variable names more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Sep 6, 2022
1 parent 588b31b commit dd17af7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/fj-kernel/src/builder/edge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ impl EdgeBuilder {
};

let vertices = {
let [a, b] = global_vertices;
let [a_global, b_global] = global_vertices;
let vertices = [
Vertex::new(Point::from([0.]), curve, a),
Vertex::new(Point::from([1.]), curve, b),
Vertex::new(Point::from([0.]), curve, a_global),
Vertex::new(Point::from([1.]), curve, b_global),
];

VerticesOfEdge::from_vertices(vertices)
Expand Down

0 comments on commit dd17af7

Please sign in to comment.