|
RavEngine
|
#include <PxBitMap.h>
Public Member Functions | |
| PX_INLINE | Iterator (const PxBitMapBase &map) |
| PX_INLINE Iterator & | operator= (const Iterator &other) |
| PX_INLINE PxU32 | getNext () |
| PX_INLINE void | reset () |
Static Public Attributes | |
| static const PxU32 | DONE = 0xffffffff |
Iterate over indices in a bitmap
This iterator is good because it finds the set bit without looping over the cached bits upto 31 times. However it does require a variable shift.