Fixed compiler warning.
This commit is contained in:
parent
a097c205d2
commit
321fc09a15
@ -560,7 +560,7 @@ btScalar Physics::solveGroup(btCollisionObject** bodies, int numBodies,
|
||||
else if(upB->is(UserPointer::UP_PHYSICAL_OBJECT))
|
||||
{
|
||||
std::vector<int> used;
|
||||
for(unsigned int i=0; i< contact_manifold->getNumContacts(); i++)
|
||||
for(int i=0; i< contact_manifold->getNumContacts(); i++)
|
||||
{
|
||||
int n = contact_manifold->getContactPoint(i).m_index0;
|
||||
// Make sure to call the callback function only once
|
||||
@ -656,7 +656,7 @@ btScalar Physics::solveGroup(btCollisionObject** bodies, int numBodies,
|
||||
else if(upB->is(UserPointer::UP_TRACK))
|
||||
{
|
||||
std::vector<int> used;
|
||||
for(unsigned int i=0; i< contact_manifold->getNumContacts(); i++)
|
||||
for(int i=0; i< contact_manifold->getNumContacts(); i++)
|
||||
{
|
||||
int n = contact_manifold->getContactPoint(i).m_index1;
|
||||
// Make sure to call the callback function only once
|
||||
|
Loading…
x
Reference in New Issue
Block a user