quick poll - precalc sin & cos or perform every frame ?

BlitzPlus Forums/BlitzPlus Programming/quick poll - precalc sin & cos or perform every frame ?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

If they can move in a somewhat limited number of angles one could use an array with precalc.. i wouldn't have thought about using precalc for this until you brought it up.. would it be much faster? One could just make a prog to include each time that stores the cos and sin of say, every integer angle from 0-359... Unless blitz already uses a built-in table for that??