add InProcessExampleBrowser to make it easy to instantiate the ExampleBrowser in its own thread
example usage:
int main(int argc, char* argv[])
{
btInProcessExampleBrowserInternalData* data = btCreateInProcessExampleBrowser(argc,argv);
while (!(btIsExampleBrowserTerminated(data)))
{
}
btShutDownExampleBrowser(data);
return 0;
}
This commit is contained in:
@@ -365,6 +365,7 @@ void ForkLiftDemo::initPhysics()
|
||||
{
|
||||
m_dynamicsWorld ->getSolverInfo().m_minimumSolverBatchSize = 128;//for direct solver, it is better to solve multiple objects together, small batches have high overhead
|
||||
}
|
||||
m_dynamicsWorld->getSolverInfo().m_globalCfm = 0.00001;
|
||||
|
||||
m_guiHelper->createPhysicsDebugDrawer(m_dynamicsWorld);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user