From 2b45441603ecdf99687c62a07a5e292a2533a612 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Thu, 26 Sep 2024 19:40:43 +0200 Subject: [PATCH] Prepare for follow-on change --- crates/fj-core/src/geometry/curves/circle.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/fj-core/src/geometry/curves/circle.rs b/crates/fj-core/src/geometry/curves/circle.rs index a7ef6a25a..689df3b93 100644 --- a/crates/fj-core/src/geometry/curves/circle.rs +++ b/crates/fj-core/src/geometry/curves/circle.rs @@ -34,12 +34,12 @@ impl GenPolyline for Circle { // Next, convert them into actual curve coordinates. let points_curve = [a, b].map(|point_curve_in_increment_units| { - point_curve_in_increment_units * params.increment() + [point_curve_in_increment_units * params.increment()] }); // And finally, convert those into points of the desired dimensionality. let points = points_curve - .map(|point_curve| self.point_from_circle_coords([point_curve])); + .map(|point_curve| self.point_from_circle_coords(point_curve)); LineSegment { points } }