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

Method resetData

examples/SharedMemory/PhysicsDirect.cpp:144–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void PhysicsDirect::resetData()
145{
146 m_data->m_debugLinesFrom.clear();
147 m_data->m_debugLinesTo.clear();
148 m_data->m_debugLinesColor.clear();
149 m_data->m_userConstraintInfoMap.clear();
150 m_data->m_userDataMap.clear();
151 m_data->m_userDataHandleLookup.clear();
152 clearCachedBodies();
153}
154
155void PhysicsDirect::clearCachedBodies()
156{

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected