remove clFinish and copyToHost from GPU joint solver, performance is looking better now.

This commit is contained in:
erwin coumans
2013-07-09 11:19:16 -07:00
parent c4375a09e4
commit bd2cd7b2a7
3 changed files with 22 additions and 22 deletions

View File

@@ -187,7 +187,7 @@ int GpuConstraintsDemo::createDynamicsObjects2(const ConstructionInfo& ci, const
{
case 0:
{
///enable next line to force CPU constraint solving
//c = new b3Point2PointConstraint(pid,prevBody,b3Vector3(-1.1,0,0),b3Vector3(1.1,0,0));
// c->setBreakingImpulseThreshold(14);
b3Vector3 pivotInA(-1.1,0,0);