Example #1
0
File: P2T.cs Project: miyu/Poly2Tri
 private static void Triangulate(TriangulationContext tcx)
 {
     switch (tcx.Algorithm)
     {
     default:
         DTSweep.Triangulate((DTSweepContext)tcx);
         break;
     }
 }
Example #2
0
 public static void Triangulate(TriangulationContext tcx)
 {
     switch (tcx.Algorithm)
     {
     case TriangulationAlgorithm.DTSweep:
     default:
         DTSweep.Triangulate((DTSweepContext)tcx);
         break;
     }
 }