Skip to content

Commit

Permalink
Simplify variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Jul 28, 2022
1 parent 31a813f commit 80bba26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/fj-kernel/src/algorithms/intersection/curve_face.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl CurveFaceIntersectionList {
_ => todo!("Curve-face intersection only supports lines"),
};

let face_as_polygon = face
let edges = face
.all_cycles()
.flat_map(|cycle| {
let edges: Vec<_> = cycle.edges().cloned().collect();
Expand All @@ -59,7 +59,7 @@ impl CurveFaceIntersectionList {

let mut intersections = Vec::new();

for (edge_line, vertices) in face_as_polygon {
for (edge_line, vertices) in edges {
let vertices = vertices.map(|vertex| {
edge_line.point_from_line_coords(vertex.position())
});
Expand Down

0 comments on commit 80bba26

Please sign in to comment.