From 4582a17b484a10cd830755015a959e137b72f1bf Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 25 Jun 2024 20:20:01 +0200 Subject: [PATCH] Update struct field 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 8c83c0e41..e6637c0f3 100644 --- a/crates/fj-core/src/algorithms/approx/half_edge.rs +++ b/crates/fj-core/src/algorithms/approx/half_edge.rs @@ -36,7 +36,7 @@ pub fn approx_half_edge( half_edge.curve(), surface, start_position_curve, - &mut cache.start_position, + &mut cache.vertex, geometry, ); @@ -82,6 +82,6 @@ pub struct HalfEdgeApprox { /// Cache for half-edge approximations #[derive(Default)] pub struct HalfEdgeApproxCache { - start_position: VertexApproxCache, + vertex: VertexApproxCache, curve: CurveApproxCache, }