コード例 #1
0
 public void CleanOverlappingPair(BroadphasePair pair, IDispatcher dispatcher)
 {
     if (pair.m_algorithm != null)
     {
         dispatcher.FreeCollisionAlgorithm(pair.m_algorithm);
         pair.m_algorithm = null;
     }
 }
コード例 #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--;
         }
     }
 }
コード例 #3
0
		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--;
				}
			}
		}
コード例 #4
0
 public void CleanOverlappingPair(BroadphasePair pair, IDispatcher dispatcher)
 {
     if (pair.m_algorithm != null)
     {
         dispatcher.FreeCollisionAlgorithm(pair.m_algorithm);
         pair.m_algorithm = null;
     }
 }