Fixes for Linux compilation,

Thanks to Ole: http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=3590
Add option to select EPA or Minkowski sampling method in btDefaultCollisionConfiguration
This commit is contained in:
erwin.coumans
2009-05-11 20:35:26 +00:00
parent 0a360904b6
commit 34685cb631
8 changed files with 23 additions and 22 deletions

View File

@@ -431,8 +431,8 @@ void btGpuDemoDynamicsWorld::debugDrawConstraints(int selectedBatch, const float
for(int i = 0; i < numConstraints; i++)
{
int indx = pBatchIds[i];
int idA = m_hIds[indx].x;
int idB = m_hIds[indx].y;
int idA = m_hIds[indx].x-1;
int idB = m_hIds[indx].y-1;
if((idA > 0) && (idB > 0))
{
btCollisionObject* colObjA = m_collisionObjects[idA];