mirror of https://github.com/hannobraun/Fornjot
Merge pull request #231 from hannobraun/vertex
Derive more traits for `Vertex`
This commit is contained in:
commit
d07ab745b7
|
@ -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