A bitwise AND will be faster then a division (unless your compiler knows the same trick).i = (i+1) % 8 works fine too. Btw i'm done with this thing so I was just saying...
Just sayin'.
A bitwise AND will be faster then a division (unless your compiler knows the same trick).i = (i+1) % 8 works fine too. Btw i'm done with this thing so I was just saying...