mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-04 18:08:26 +00:00
Remove unused code
This commit is contained in:
parent
74c1315113
commit
501a89cce3
@ -1,7 +1,5 @@
|
||||
use crate::math::Point;
|
||||
|
||||
use super::{MeshTriangle, ToTriMesh, TriMesh};
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
|
||||
pub struct Triangle<const D: usize> {
|
||||
pub points: [Point<D>; 3],
|
||||
@ -25,14 +23,3 @@ where
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl ToTriMesh for Triangle<3> {
|
||||
fn to_tri_mesh(&self) -> TriMesh {
|
||||
TriMesh {
|
||||
triangles: vec![MeshTriangle {
|
||||
inner: *self,
|
||||
is_internal: false,
|
||||
}],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,4 @@
|
||||
use crate::{
|
||||
geometry::{ToTriMesh, TriMesh},
|
||||
object::Handle,
|
||||
};
|
||||
use crate::object::Handle;
|
||||
|
||||
use super::vertex::Vertex;
|
||||
|
||||
@ -9,9 +6,3 @@ pub struct HalfEdge {
|
||||
pub start: Handle<Vertex>,
|
||||
pub is_internal: bool,
|
||||
}
|
||||
|
||||
impl ToTriMesh for HalfEdge {
|
||||
fn to_tri_mesh(&self) -> TriMesh {
|
||||
TriMesh::new()
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,4 @@
|
||||
use crate::{
|
||||
geometry::{ToTriMesh, TriMesh},
|
||||
math::Point,
|
||||
};
|
||||
use crate::math::Point;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
|
||||
pub struct Vertex {
|
||||
@ -14,9 +11,3 @@ impl Vertex {
|
||||
Self { point }
|
||||
}
|
||||
}
|
||||
|
||||
impl ToTriMesh for Vertex {
|
||||
fn to_tri_mesh(&self) -> TriMesh {
|
||||
TriMesh::new()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user