From 7ca63e4344bdaa1a2b39ab8656df680d0e4b5e3d Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 23 Oct 2024 19:14:35 +0200 Subject: [PATCH] Prepare for follow-on change --- crates/fj-core/src/algorithms/approx/curve.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/fj-core/src/algorithms/approx/curve.rs b/crates/fj-core/src/algorithms/approx/curve.rs index a9eac743e..3447430b6 100644 --- a/crates/fj-core/src/algorithms/approx/curve.rs +++ b/crates/fj-core/src/algorithms/approx/curve.rs @@ -51,14 +51,14 @@ fn approx_curve( surface: &SweptCurve, boundary: CurveBoundary>, tolerance: impl Into, - _: &Geometry, + geometry: &Geometry, ) -> CurveApprox { let SweptCurve { u, .. } = surface; let points = match (path, u) { (Path::Circle(_), Path::Circle(_)) => approx_circle_on_curved_surface(), (Path::Circle(circle), Path::Line(_)) => { approx_circle_on_straight_surface( - circle, boundary, surface, tolerance, + circle, boundary, surface, tolerance, geometry, ) } (Path::Line(line), _) => { @@ -78,6 +78,7 @@ fn approx_circle_on_straight_surface( boundary: CurveBoundary>, surface: &SweptCurve, tolerance: impl Into, + _: &Geometry, ) -> Vec> { let tolerance = tolerance.into();