mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-08 03:48:27 +00:00
Update name of function parameter
This commit is contained in:
parent
d9aa667a0a
commit
19f9ca1c1a
@ -88,10 +88,11 @@ fn half_edges_to_points(face: &Face, target: &mut Vec<TriangulationPoint>) {
|
|||||||
fn approximate_half_edge(
|
fn approximate_half_edge(
|
||||||
HalfEdgeWithEndVertex {
|
HalfEdgeWithEndVertex {
|
||||||
half_edge,
|
half_edge,
|
||||||
end_vertex: end,
|
end_vertex,
|
||||||
}: HalfEdgeWithEndVertex,
|
}: HalfEdgeWithEndVertex,
|
||||||
) -> Vec<Point<3>> {
|
) -> Vec<Point<3>> {
|
||||||
let [start, end] = [&half_edge.start, end].map(|vertex| vertex.point);
|
let [start, end] =
|
||||||
|
[&half_edge.start, end_vertex].map(|vertex| vertex.point);
|
||||||
|
|
||||||
let points_local = half_edge.curve.geometry.approximate([start, end].map(
|
let points_local = half_edge.curve.geometry.approximate([start, end].map(
|
||||||
|point_global| half_edge.curve.geometry.project_point(point_global),
|
|point_global| half_edge.curve.geometry.project_point(point_global),
|
||||||
|
Loading…
Reference in New Issue
Block a user