Remove unused code

This commit is contained in:
Hanno Braun 2024-06-24 22:25:43 +02:00
parent 153f8060aa
commit a96d03aa91

View File

@ -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<HalfEdge>, &Handle<Surface>) {
type Approximation = HalfEdgeApprox;
type Cache = HalfEdgeApproxCache;
fn approx_with_cache(
self,
tolerance: impl Into<Tolerance>,
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<HalfEdge>,