Skip to content

Commit

Permalink
Simplify variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Mar 23, 2023
1 parent 6ced333 commit 29c0203
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions crates/fj-kernel/src/operations/build/face.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub trait BuildFace {
let [a, b, c] = points.map(Into::into);

let surface = Surface::plane_from_points([a, b, c]).insert(objects);
let (exterior, global_edges) = {
let (exterior, edges) = {
let half_edges = [[a, b], [b, c], [c, a]].zip_ext(edges).map(
|(points, global_form)| {
let mut builder =
Expand All @@ -48,10 +48,7 @@ pub trait BuildFace {

let face = Face::new(surface, exterior, [], None);

Triangle {
face,
edges: global_edges,
}
Triangle { face, edges }
}
}

Expand Down

0 comments on commit 29c0203

Please sign in to comment.