40 for (
int i = 0; i <
N; i++)
52 return lhs.m_id <
rhs.m_id;
66#ifndef STATIC_SIMULATION_ISLAND_OPTIMIZATION
const T & btMax(const T &a, const T &b)
int size() const
return the number of elements in the array
void resize(int newsize, const T &fillData=T())
void clear()
clear the array, deallocated memory. Generally it is better to use array.resize(0),...
void quickSort(const L &CompareFunc)
bool operator()(const btElement &lhs, const btElement &rhs) const
void sortIslands()
this is a special operation, destroying the content of btUnionFind.
btAlignedObjectArray< btElement > m_elements