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