improved performance, and allowed custom friction and contact solver models. See CcdPhysicsDemo #define USER_DEFINED_FRICTION_MODEL

This commit is contained in:
ejcoumans
2006-09-20 00:49:33 +00:00
parent dad2cb634e
commit 5ed0cf5b7f
15 changed files with 211 additions and 56 deletions

View File

@@ -37,14 +37,12 @@ class OverlappingPairCache : public BroadphaseInterface
//avoid brute-force finding all the time
std::set<BroadphasePair> m_overlappingPairSet;
int m_maxOverlap;
//during the dispatch, check that user doesn't destroy/create proxy
bool m_blockedForChanges;
public:
OverlappingPairCache(int maxOverlap);
OverlappingPairCache();
virtual ~OverlappingPairCache();
void ProcessAllOverlappingPairs(OverlapCallback*);