| 142 | } |
| 143 | |
| 144 | void 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 | |
| 155 | void PhysicsDirect::clearCachedBodies() |
| 156 | { |