using System; using System.Collections.Generic; namespace Poly2Tri { // Token: 0x0200000F RID: 15 public class DTSweepPointComparator : IComparer { // Token: 0x0600009D RID: 157 RVA: 0x000048E0 File Offset: 0x00002AE0 public int Compare(TriangulationPoint p1, TriangulationPoint p2) { if (p1.Y < p2.Y) { return -1; } if (p1.Y > p2.Y) { return 1; } if (p1.X < p2.X) { return -1; } if (p1.X > p2.X) { return 1; } return 0; } } }