Read in the "Learn Cocos2D 2nd Edition" book Chapter 4 that "since the ARM CPUs of the iOS devices don't support division operations in hardware, multiplications are generally a bit faster."
So instead of divide by 2, you should use multiple by 0.5 - this is interesting...
0 comments:
Post a Comment