use Bullet3Common/b3AlignedObjectArray.h instead of LinearMath version in SharedMemory/PhysicsClientSharedMemory

This commit is contained in:
erwincoumans
2018-05-16 12:10:34 -07:00
parent e5a9b42f9a
commit 0ca2c5f925
3 changed files with 33 additions and 25 deletions

View File

@@ -528,6 +528,14 @@ protected:
otherArray.copy(0, otherSize, m_data);
}
void removeAtIndex(int index)
{
if (index<size())
{
swap( index,size()-1);
pop_back();
}
}
};
#endif //B3_OBJECT_ARRAY__