From 1af539c91822374374cbab029bfb25f65f2d04ff Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 13 Oct 2022 17:00:58 +0200 Subject: [PATCH] Update variable name --- crates/fj-kernel/src/algorithms/sweep/edge.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/fj-kernel/src/algorithms/sweep/edge.rs b/crates/fj-kernel/src/algorithms/sweep/edge.rs index 401c31eaa..d95021a8f 100644 --- a/crates/fj-kernel/src/algorithms/sweep/edge.rs +++ b/crates/fj-kernel/src/algorithms/sweep/edge.rs @@ -213,12 +213,12 @@ mod tests { .as_line_segment_from_points([[0., 0.], [0., 1.]]) .build(&objects) .reverse(); - let right = HalfEdge::partial() + let side_up = HalfEdge::partial() .with_surface(Some(surface.clone())) .as_line_segment_from_points([[1., 0.], [1., 1.]]) .build(&objects); - let cycle = Cycle::new(surface, [bottom, right, top, side_down]); + let cycle = Cycle::new(surface, [bottom, side_up, top, side_down]); Face::from_exterior(cycle) };