Prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-06-17 22:27:09 +02:00
parent 845b0578f8
commit 30e5c0ba72

View File

@ -183,10 +183,8 @@ fn distances(
) -> Point<3> {
let [start, end] = geometry.of_half_edge(half_edge).boundary.inner;
let path_coords = start + (end - start) * percent;
let surface_coords = geometry
.of_half_edge(half_edge)
.path
.point_from_path_coords(path_coords);
let path = geometry.of_half_edge(half_edge).path;
let surface_coords = path.point_from_path_coords(path_coords);
geometry
.of_surface(surface)
.point_from_surface_coords(surface_coords)