| 183 | } |
| 184 | |
| 185 | PxSerialObjectId Collection::getId(const PxBase& object) const |
| 186 | { |
| 187 | const ObjectToIdMap::Entry* e = mObjects.find(const_cast<PxBase*>(&object)); |
| 188 | return e ? e->second : PX_SERIAL_OBJECT_ID_INVALID; |
| 189 | } |
| 190 | |
| 191 | PxU32 Collection::getIds(PxSerialObjectId* userBuffer, PxU32 bufferSize, PxU32 startIndex) const |
| 192 | { |