| 67 | #if PX_ENABLE_ASSERTS |
| 68 | template <typename Thing> |
| 69 | static bool contains(Ps::Array<Thing>& arr, const Thing& thing) |
| 70 | { |
| 71 | for(PxU32 a = 0; a < arr.size(); ++a) |
| 72 | { |
| 73 | if(thing == arr[a]) |
| 74 | return true; |
| 75 | } |
| 76 | return false; |
| 77 | } |
| 78 | #endif |
| 79 | |
| 80 | void IslandSim::resize(const PxU32 nbNodes, const PxU32 nbContactManagers, const PxU32 nbConstraints) |
no test coverage detected