///<summary>
 /// Cleans up the manifold.
 ///</summary>
 public override void CleanUp()
 {
     supplementData.Clear();
     collidableA = null;
     collidableB = null;
     pairTester.CleanUp();
     base.CleanUp();
 }
Ejemplo n.º 2
0
 private void ReturnPair(GeneralConvexPairTester pair)
 {
     pair.CleanUp();
     testerPool.GiveBack(pair);
 }
 private void ReturnPair(GeneralConvexPairTester pair)
 {
     boxCollidablePool.GiveBack((ReusableBoxCollidable)pair.CollidableB);
     pair.CleanUp();
     testerPool.GiveBack(pair);
 }