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.

Prof

No, Sin/Cos -used- to be bottlenecks and that is why people -used- to have to use look up tables. These days, it's not a big deal unless you are calling them thousands of times every frame.

This is the same sort of thing that goes along with unrolling loops and fixed point math. Used to be useful optimizations. Nowadays? Not so much.