added fracture scene .bullet file (doesn't work well yet)

added tetrahedral mesh test scene
expose b3Config as member variable for demos.
move a 'glFlush' out of the innerloop (render performance)
SSE -> SSE2 in premake
fix crash in broadphase (when no aabb's exist)
This commit is contained in:
erwin coumans
2013-07-30 12:37:16 -07:00
parent 3ccc9680a1
commit 2793a174c6
12 changed files with 309 additions and 28 deletions

View File

@@ -117,6 +117,7 @@ GpuDemo::CreateFunc* allDemos[]=
GpuConstraintsDemo::MyCreateFunc,
GpuTetraScene::MyCreateFunc,
GpuSoftClothDemo::MyCreateFunc,
@@ -679,7 +680,7 @@ int main(int argc, char* argv[])
bool useGpu = false;
int maxObjectCapacity=512*1024;
int maxObjectCapacity=128*1024;
maxObjectCapacity = b3Max(maxObjectCapacity,ci.arraySizeX*ci.arraySizeX*ci.arraySizeX+10);
{
@@ -931,7 +932,7 @@ int main(int argc, char* argv[])
}
}
if (frameCount>=102)
if (frameCount>=1002)
window->setRequestExit();
frameCount++;
}