Tests convex shapes against other convex shapes for contact generation.
 ///<summary>
 /// Constructs a new convex-convex manifold.
 ///</summary>
 public GeneralConvexContactManifold()
 {
     contacts = new RawList<Contact>(4);
     unusedContacts = new UnsafeResourcePool<Contact>(4);
     contactIndicesToRemove = new RawList<int>(4);
     pairTester = new GeneralConvexPairTester();
 }
Example #2
0
 private void ReturnPair(GeneralConvexPairTester pair)
 {
     pair.CleanUp();
     testerPool.GiveBack(pair);
 }
Example #3
0
		private void ReturnPair( GeneralConvexPairTester pair )
		{
			boxCollidablePool.GiveBack( (ReusableBoxCollidable)pair.CollidableB );
			pair.CleanUp();
			testerPool.GiveBack( pair );
		}