Some work-in-progress on making btDbvtBroadphase deterministic. When using the btSortedOverlappingPairCache, it seems deterministic now. todo: when using btHashedOverlappingPairCache.

This commit is contained in:
erwin.coumans
2009-02-10 03:50:58 +00:00
parent bd5a7f623d
commit 2a10a61f50
11 changed files with 207 additions and 160 deletions

View File

@@ -114,6 +114,10 @@ struct btDbvtBroadphase : btBroadphaseInterface
void getBroadphaseAabb(btVector3& aabbMin,btVector3& aabbMax) const;
void printStats();
static void benchmark(btBroadphaseInterface*);
///reset broadphase internal structures, to ensure determinism/reproducability
virtual void resetPool(btDispatcher* dispatcher);
};
#endif