mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-09 12:28:29 +00:00
Circumvent redundant abstraction layer
This commit is contained in:
parent
e7edc33bcb
commit
153f8060aa
@ -11,7 +11,7 @@ use crate::{
|
||||
};
|
||||
|
||||
use super::{
|
||||
half_edge::{HalfEdgeApprox, HalfEdgeApproxCache},
|
||||
half_edge::{approx_half_edge, HalfEdgeApprox, HalfEdgeApproxCache},
|
||||
Approx, ApproxPoint, Tolerance,
|
||||
};
|
||||
|
||||
@ -32,8 +32,7 @@ impl Approx for (&Cycle, &Handle<Surface>) {
|
||||
.half_edges()
|
||||
.iter()
|
||||
.map(|half_edge| {
|
||||
(half_edge, surface)
|
||||
.approx_with_cache(tolerance, cache, geometry)
|
||||
approx_half_edge(half_edge, surface, tolerance, cache, geometry)
|
||||
})
|
||||
.collect();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user