mirror of
https://github.com/hannobraun/Fornjot
synced 2025-07-28 12:56:06 +00:00
Remove unused code
This commit is contained in:
parent
85c7253bcf
commit
fe597c4fd4
@ -1,9 +1,6 @@
|
||||
use std::fmt;
|
||||
|
||||
use crate::{
|
||||
geometry::TriMesh,
|
||||
math::Plane,
|
||||
operation::{Handle, HandleAny, Operation, OperationOutput},
|
||||
operation::{Handle, OperationOutput},
|
||||
};
|
||||
|
||||
use super::{face::Face, solid::Solid};
|
||||
@ -56,22 +53,3 @@ impl ConnectExt for Handle<Face> {
|
||||
Handle::new(output)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Connect {
|
||||
pub output: Handle<Solid>,
|
||||
}
|
||||
|
||||
impl Operation for Connect {
|
||||
fn display(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
write!(f, "Connect")
|
||||
}
|
||||
|
||||
fn tri_mesh(&self) -> TriMesh {
|
||||
self.output.tri_mesh()
|
||||
}
|
||||
|
||||
fn children(&self) -> Vec<HandleAny> {
|
||||
vec![self.output.to_any()]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user