Derive more traits for Vertex

This commit is contained in:
Hanno Braun 2024-11-06 19:03:00 +01:00
parent 68ba8feb90
commit 254dfb626c

View File

@ -34,7 +34,7 @@ impl Operation for Mesh {
} }
} }
#[derive(Clone, Copy)] #[derive(Clone, Copy, Eq, Ord, PartialEq, PartialOrd)]
pub struct Vertex { pub struct Vertex {
pub point: Point, pub point: Point,
} }