reverted back to newer btDbvtBroadphase, and applied Nathanael's fixes.

This commit is contained in:
erwin.coumans
2008-09-13 08:06:39 +00:00
parent d1318a05b3
commit 1346c95205
5 changed files with 357 additions and 112 deletions

View File

@@ -36,6 +36,7 @@ subject to the following restrictions:
int percentUpdate = 10;
//float objectSpeed = 0.005f;
float objectSpeed = 0.0005f;
bool enableDraw = true;
//Broadphase comparison
//Static case (updating 10% of objects to same position ( -> no swaps)
@@ -310,6 +311,7 @@ int main(int argc, char** argv)
TwType testType = TwDefineEnum("CollisionTest", testEV, MAX_NB_TESTS);
TwAddVarRW(gMainBar, "CollisionTests", testType, &gSelectedTest, "");
TwAddVarRW(gMainBar, "% of updates",TW_TYPE_INT32,&percentUpdate,"min=0 max=100");
TwAddVarRW(gMainBar, "Draw",TW_TYPE_BOOLCPP,&enableDraw,"");
}
// Create tests