View Single Post
  #165  
Old 08-26-2013, 12:17 PM
MaxGunz MaxGunz is offline
Approved Member
 
Join Date: Apr 2011
Posts: 471
Default

Could just use a number of bitmasks and cycle through them. Mask logic, like shift operations, eats far fewer cycles than integer or floating-point math.