From a96d03aa91c7dca5e88dd4e53aa600659b8f4e0a Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Mon, 24 Jun 2024 22:25:43 +0200 Subject: [PATCH] Remove unused code --- .../fj-core/src/algorithms/approx/half_edge.rs | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/crates/fj-core/src/algorithms/approx/half_edge.rs b/crates/fj-core/src/algorithms/approx/half_edge.rs index 50f07e95d..8cf23fc69 100644 --- a/crates/fj-core/src/algorithms/approx/half_edge.rs +++ b/crates/fj-core/src/algorithms/approx/half_edge.rs @@ -13,24 +13,9 @@ use crate::{ use super::{ curve::{approx_curve_with_cache, CurveApproxCache}, vertex::{approx_vertex, VertexApproxCache}, - Approx, ApproxPoint, Tolerance, + ApproxPoint, Tolerance, }; -impl Approx for (&Handle, &Handle) { - type Approximation = HalfEdgeApprox; - type Cache = HalfEdgeApproxCache; - - fn approx_with_cache( - self, - tolerance: impl Into, - cache: &mut Self::Cache, - geometry: &Geometry, - ) -> Self::Approximation { - let (half_edge, surface) = self; - approx_half_edge(half_edge, surface, tolerance, cache, geometry) - } -} - /// Approximate the provided half-edge pub fn approx_half_edge( half_edge: &Handle,