Remove redundant calls

This commit is contained in:
Hanno Braun 2025-02-18 20:44:16 +01:00
parent a079d80b15
commit e103fe7555
2 changed files with 3 additions and 2 deletions

View File

@ -18,6 +18,7 @@ pub trait Operation {
}
pub trait OperationOutput<Output = Self>: Operation {
#[allow(unused)] // ongoing cleanup
fn output(&self) -> &Output;
}

View File

@ -76,11 +76,11 @@ impl Operation for Face {
// connect, we use the original 3D points to build those
// triangles. We never convert the 2D points back into 3D.
let point_surface =
self.surface.project_point(vertex.output().point);
self.surface.project_point(vertex.point);
TriangulationPoint {
point_surface,
point_vertex: vertex.output().point,
point_vertex: vertex.point,
}
}),
true,