コード例 #1
0
 public void cleanOverlappingPair(BroadphasePair pair, IDispatcher dispatcher)
 {
     if (pair.m_algorithm != null)
     {
         {
             /*pair.m_algorithm->~btCollisionAlgorithm();
             dispatcher->freeCollisionAlgorithm(pair.m_algorithm);
             pair.m_algorithm=0;*/
             dispatcher.freeCollisionAlgorithm(pair.m_algorithm);
             pair.m_algorithm = null;
         }
     }
 }