mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-09 12:28:29 +00:00
Remove commented code
This commit is contained in:
parent
104bbea1ed
commit
35edeaca76
@ -165,12 +165,10 @@ fn distances(
|
|||||||
) -> Option<Point<3>> {
|
) -> Option<Point<3>> {
|
||||||
let [start, end] = geometry.of_half_edge(half_edge).boundary.inner;
|
let [start, end] = geometry.of_half_edge(half_edge).boundary.inner;
|
||||||
let path_coords = start + (end - start) * percent;
|
let path_coords = start + (end - start) * percent;
|
||||||
// let path = geometry.of_half_edge(half_edge).path;
|
|
||||||
let path = geometry
|
let path = geometry
|
||||||
.of_curve(half_edge.curve())?
|
.of_curve(half_edge.curve())?
|
||||||
.local_on(surface)?
|
.local_on(surface)?
|
||||||
.path;
|
.path;
|
||||||
// assert_eq!(path, path_from_curve);
|
|
||||||
let surface_coords = path.point_from_path_coords(path_coords);
|
let surface_coords = path.point_from_path_coords(path_coords);
|
||||||
Some(
|
Some(
|
||||||
geometry
|
geometry
|
||||||
|
Loading…
Reference in New Issue
Block a user