Exemplo n.º 1
0
 public override void processAllOverlappingPairs(OverlapCallback callback)
 {
     for (int i = 0; i < overlappingPairArray.Count;)
     {
         BroadphasePair pair = overlappingPairArray[i];
         if (callback.processOverlap(pair))
         {
             removeOverlappingPair(pair.pProxy0, pair.pProxy1);
         }
         else
         {
             i++;
         }
     }
 }
Exemplo n.º 2
0
 public abstract void processAllOverlappingPairs(OverlapCallback callback);