MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / resetData

Method resetData

examples/SharedMemory/PhysicsClientSharedMemory.cpp:302–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302void 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}
312void PhysicsClientSharedMemory::setSharedMemoryKey(int key)
313{
314 m_data->m_sharedMemoryKey = key;

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected