mirror of
https://github.com/hannobraun/Fornjot
synced 2025-07-22 18:06:05 +00:00
Remove redundant calls
This commit is contained in:
parent
a079d80b15
commit
e103fe7555
@ -18,6 +18,7 @@ pub trait Operation {
|
||||
}
|
||||
|
||||
pub trait OperationOutput<Output = Self>: Operation {
|
||||
#[allow(unused)] // ongoing cleanup
|
||||
fn output(&self) -> &Output;
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user