mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 02:18:28 +00:00
Prepare for follow-on change
This commit is contained in:
parent
41ed3f8b80
commit
5a1a7d502c
@ -91,8 +91,8 @@ fn approximate_half_edge(
|
||||
end_vertex: end,
|
||||
}: HalfEdgeWithEndVertex,
|
||||
) -> Vec<Point<3>> {
|
||||
let [start, _] = [&half_edge.start, end];
|
||||
vec![start.point]
|
||||
let [start, _] = [&half_edge.start, end].map(|vertex| vertex.point);
|
||||
vec![start]
|
||||
}
|
||||
|
||||
fn polygon_from_half_edges(
|
||||
|
Loading…
Reference in New Issue
Block a user