| 312 | } |
| 313 | |
| 314 | PX_INLINE PxU32 getNext() |
| 315 | { |
| 316 | if(mBlock) |
| 317 | { |
| 318 | PxU32 bitIndex = mIndex<<5 | Ps::lowestSetBit(mBlock); |
| 319 | mBlock &= mBlock-1; |
| 320 | PxU32 wordCount = mBitMap.getWordCount(); |
| 321 | while(!mBlock && ++mIndex < wordCount) |
| 322 | mBlock = mBitMap.mMap[mIndex]; |
| 323 | return bitIndex; |
| 324 | } |
| 325 | return DONE; |
| 326 | } |
| 327 | |
| 328 | PX_INLINE void reset() |
| 329 | { |
nothing calls this directly
no test coverage detected