Closed directionless closed 10 years ago
Don't worry about optimizing the effects code yet, this code and its API is changing rapidly (I've already moved the angle calculation to be once per frame, not per-pixel.)
defining twopi is probably not a bad idea though.
Is 3.14159 really faster than pi??? That's kind of unacceptable.
There's probably more to be gained here