Remove unused code

This commit is contained in:
Hanno Braun 2025-02-18 20:05:51 +01:00
parent 85c7253bcf
commit fe597c4fd4

View File

@ -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()]
}
}