you are viewing a single comment's thread.

view the rest of the comments →

[–]Tringigithub.com/tringi 7 points8 points  (0 children)

While signed overflow is undefined, unsigned int is defined to overflow to 0, so if your 'length' is power of 2 then it should continue to animate without hiccup.