Derive Ord for TriangulationPoint

This commit is contained in:
Hanno Braun 2025-02-21 20:53:28 +01:00
parent 8f3ff8be4f
commit 4d031346d1

View File

@ -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>,