Beispiel #1
0
 internal static PriorityQ pqNewPriorityQ(PriorityQ.Leq leq)
 {
     return new PriorityQSort(leq);
 }
Beispiel #2
0
 //    #ifdef FOR_TRITE_TEST_PROGRAM
 //    private static boolean LEQ(PriorityQCommon.Leq leq, Object x,Object y) {
 //        return pq.leq.leq(x,y);
 //    }
 //    #else
 /* Violates modularity, but a little faster */
 //    #include "geom.h"
 public static bool LEQ(PriorityQ.Leq leq, System.Object x, System.Object y)
 {
     return Mogre.Utils.GluTesselator.Geom.VertLeq((Mogre.Utils.GluTesselator.GLUvertex) x, (Mogre.Utils.GluTesselator.GLUvertex) y);
 }