public int CompareTriangles(Triangle t1, Triangle t2, Axis a = Axis.PLANE_Y) { var p1 = t1.Center(sceneVertices); var p2 = t2.Center(sceneVertices); return p1.Component(a).CompareTo(p2.Component(a)); }