This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
namespace Poly2Tri
{
// Token: 0x0200000F RID: 15
public class DTSweepPointComparator : IComparer<TriangulationPoint>
{
// 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;
}
}
}