| 234 | } |
| 235 | |
| 236 | void NpBatchQuery::finalizeExecute() |
| 237 | { |
| 238 | mPrevOffset = PxU32(eTERMINAL); // reset the first BatchStreamHeader offset |
| 239 | mStream.rewind(); // clear out the executed queries - rewind the data stream so that the query object can be reused |
| 240 | mNbRaycasts = mNbOverlaps = mNbSweeps = 0; // also reset the counts so the query object can be reused |
| 241 | mHasMtdSweep = false; // reset the mtd flag |
| 242 | |
| 243 | Ps::atomicExchange(&mBatchQueryIsRunning, 0); |
| 244 | } |
| 245 | |
| 246 | // fixed memory buffer with extra single hit for overflow detection |
| 247 | template<typename HitType> |
nothing calls this directly
no test coverage detected