add ray-convex CPU implementation, make CPU raytest default for now

tweak/increase the b3Config values again, so it works better on the Macbook Retina GPU.
This commit is contained in:
erwin coumans
2013-06-20 00:29:09 -07:00
parent a69ba48de4
commit 531af1b394
10 changed files with 194 additions and 80 deletions

View File

@@ -288,9 +288,8 @@ void BasicGpuDemo::initPhysics()
//create a few dynamic rigidbodies
// Re-using the same collision is better for memory usage and performance
//btBoxShape* colShape = new btBoxShape(btVector3(SCALING*1,SCALING*1,SCALING*1));
btCollisionShape* colShape = new btSphereShape(btScalar(SCALING*1.f));
btBoxShape* colShape = new btBoxShape(btVector3(SCALING*1,SCALING*1,SCALING*1));
//btCollisionShape* colShape = new btSphereShape(btScalar(SCALING*1.f));
m_collisionShapes.push_back(colShape);
/// Create Dynamic Objects