Beispiel #1
0
 public void CleanOverlappingPair(BroadphasePair pair, IDispatcher dispatcher)
 {
     if (pair.m_algorithm != null)
     {
         dispatcher.FreeCollisionAlgorithm(pair.m_algorithm);
         pair.m_algorithm = null;
     }
 }
Beispiel #2
0
 public void CleanOverlappingPair(BroadphasePair pair, IDispatcher dispatcher)
 {
     if (pair.m_algorithm != null)
     {
         {
             dispatcher.FreeCollisionAlgorithm(pair.m_algorithm);
             pair.m_algorithm = null;
             OverlappingPairCacheGlobals.gRemovePairs--;
         }
     }
 }
		public void CleanOverlappingPair(BroadphasePair pair, IDispatcher dispatcher)
		{
			if (pair.m_algorithm != null)
			{
				{
					pair.m_algorithm.Cleanup();
					dispatcher.FreeCollisionAlgorithm(pair.m_algorithm);
					pair.m_algorithm = null;
					OverlappingPairCacheGlobals.gRemovePairs--;
				}
			}
		}
 public void CleanOverlappingPair(BroadphasePair pair, IDispatcher dispatcher)
 {
     if (pair.m_algorithm != null)
     {
         dispatcher.FreeCollisionAlgorithm(pair.m_algorithm);
         pair.m_algorithm = null;
     }
 }