mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-06 02:48:27 +00:00
Derive Ord
for TriangulationPoint
This commit is contained in:
parent
8f3ff8be4f
commit
4d031346d1
@ -70,7 +70,7 @@ fn triangles(points: &[TriangulationPoint]) -> Vec<Triangle> {
|
||||
.collect()
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Eq, PartialEq)]
|
||||
#[derive(Clone, Copy, Eq, Ord, PartialEq, PartialOrd)]
|
||||
struct TriangulationPoint {
|
||||
point_surface: Point<2>,
|
||||
point_vertex: Point<3>,
|
||||
|
Loading…
Reference in New Issue
Block a user