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