| 300 | } |
| 301 | |
| 302 | void PhysicsClientSharedMemory::resetData() |
| 303 | { |
| 304 | m_data->m_debugLinesFrom.clear(); |
| 305 | m_data->m_debugLinesTo.clear(); |
| 306 | m_data->m_debugLinesColor.clear(); |
| 307 | m_data->m_userConstraintInfoMap.clear(); |
| 308 | m_data->m_userDataMap.clear(); |
| 309 | m_data->m_userDataHandleLookup.clear(); |
| 310 | clearCachedBodies(); |
| 311 | } |
| 312 | void PhysicsClientSharedMemory::setSharedMemoryKey(int key) |
| 313 | { |
| 314 | m_data->m_sharedMemoryKey = key; |