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
+34
View File
@@ -0,0 +1,34 @@
using System;
namespace Poly2Tri
{
// Token: 0x0200000B RID: 11
public class DTSweepConstraint : TriangulationConstraint
{
// Token: 0x0600007A RID: 122 RVA: 0x000043E0 File Offset: 0x000025E0
public DTSweepConstraint(TriangulationPoint p1, TriangulationPoint p2)
{
this.P = p1;
this.Q = p2;
if (p1.Y > p2.Y)
{
this.Q = p1;
this.P = p2;
}
else if (p1.Y == p2.Y)
{
if (p1.X > p2.X)
{
this.Q = p1;
this.P = p2;
}
else
{
double x = p1.X;
double x2 = p2.X;
}
}
this.Q.AddEdge(this);
}
}
}