mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-12 03:06:59 +00:00
Derive more traits for Vertex
This commit is contained in:
parent
aa0cbe52de
commit
b488abcb5b
@ -14,7 +14,7 @@ pub struct Vertices(pub Vec<Vertex<3>>);
|
||||
///
|
||||
/// Points, on the other hand, might be used to approximate a shape for various
|
||||
/// purposes, without presenting any deeper truth about the shape's structure.
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq, Ord, PartialOrd)]
|
||||
pub struct Vertex<const D: usize> {
|
||||
location: Point<D>,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user