| 49 | } |
| 50 | |
| 51 | void Sc::SimStats::simStart() |
| 52 | { |
| 53 | #if PX_ENABLE_SIM_STATS |
| 54 | // pending broadphase adds/removes are now the current ones |
| 55 | numBroadPhaseAdds = numBroadPhaseAddsPending; |
| 56 | numBroadPhaseRemoves = numBroadPhaseRemovesPending; |
| 57 | clear(); |
| 58 | #endif |
| 59 | } |
| 60 | |
| 61 | void Sc::SimStats::readOut(PxSimulationStatistics& s, const PxvSimStats& simStats) const |
| 62 | { |