ashton icon indicating copy to clipboard operation
ashton copied to clipboard

Optimise fastcos/fastsin in particle engine.

Open bil-bas opened this issue 12 years ago • 0 comments

Suggested by ker:

modulo is bad, rather use two while loops, one for <0 to += 360 and one for >360 to -= 360 especially modf is bad convert to integer, the do the loops in integer saves you both modf and %

bil-bas avatar May 12 '13 16:05 bil-bas