mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-25 08:35:51 +00:00
Refactor
This commit is contained in:
parent
ce6f080424
commit
f20451bec3
@ -104,9 +104,7 @@ pub fn approximate_cycle(cycle: &Cycle, tolerance: Scalar) -> Vec<Point<3>> {
|
||||
let mut edge_points = Vec::new();
|
||||
edge.curve().approx(tolerance, &mut edge_points);
|
||||
|
||||
let edge_points = approximate_edge(edge_points, edge.vertices());
|
||||
|
||||
points.extend(edge_points);
|
||||
points.extend(approximate_edge(edge_points, edge.vertices()));
|
||||
}
|
||||
|
||||
points.dedup();
|
||||
|
Loading…
Reference in New Issue
Block a user