From 1da0f6aa17cc2f6d5a64ace4cdae9d0f6a78edf7 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Fri, 21 Jun 2024 21:32:23 +0200 Subject: [PATCH] Update variable name --- crates/fj-core/src/algorithms/approx/half_edge.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/fj-core/src/algorithms/approx/half_edge.rs b/crates/fj-core/src/algorithms/approx/half_edge.rs index 116d517d2..6d0a73ba4 100644 --- a/crates/fj-core/src/algorithms/approx/half_edge.rs +++ b/crates/fj-core/src/algorithms/approx/half_edge.rs @@ -30,7 +30,7 @@ impl Approx for (&Handle, &Handle) { let boundary = geometry.of_half_edge(half_edge).boundary; let [start_position_curve, _] = boundary.inner; - let first = approx_vertex( + let start = approx_vertex( half_edge.start_vertex().clone(), half_edge.curve(), surface, @@ -48,7 +48,7 @@ impl Approx for (&Handle, &Handle) { geometry, ); - let mut points = vec![first]; + let mut points = vec![start]; points.extend(rest.points); let points = points