Check out some of the articles in Game Programming Gems vol. 2 has an article that deals with floating point op in general, and specifically on fast cosine/sine using LUT. But the code implementation is in C, so they will not readily lend themselves to a direct port to AS. It pays to understand how cosine/sine is implemented natively before doing it though.
- boon Andreas R�nning <[EMAIL PROTECTED]> wrote: Anyone know of good online tutorials or treatments on generating and using lookup tables to speed up sin/cos and similar math in AS2? I'm looking for ways to reuse the results of a single calculation across a number of variations of the calculated problem. Yes this is game related :) Shoot-em-up related to be specific. Flash doesn't lend itself well to bullet storms it would seem. - Andreas _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com