mirror of https://github.com/hannobraun/Fornjot
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
|
/// 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.
|
/// 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> {
|
pub struct Vertex<const D: usize> {
|
||||||
location: Point<D>,
|
location: Point<D>,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue