Skip to content

Commit

Permalink
Added suggested performance improvement from bulletphysics/bullet3#4117
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouwe committed Jan 3, 2022
1 parent 9e41b01 commit 9ea51dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PerformanceTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ void initPhysics(int inNumThreads, bool inCCD)

// Create solver
gSolver = new btSequentialImpulseConstraintSolverMt();
btSequentialImpulseConstraintSolverMt::s_minimumContactManifoldsForBatching = 2000; // Suggested performance improvement by Erwin Coumans

// Create world
gDynamicsWorld = new btDiscreteDynamicsWorldMt(gDispatcher, gOverlappingPairCache, gSolverPool, gSolver, gCollisionConfiguration);
Expand Down

0 comments on commit 9ea51dc

Please sign in to comment.