sine and cosine

BlitzMax Forums/BlitzMax Beginners Area/sine and cosine

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.

The most Important thing is Do cos and sin give different results on different comp. Because then we should use lookups.


Why?

If you are just using trig functions to push graphics around, then Ok my assertion was over the top.
I use Sin/Cos to generate the maps for my levels from (Al la Zarch), and if the results are not garranteed to be the same, then it has a "bigger" impact than simple transformation rounding.

It was not clear from that post, (but if you look earlar), it was sudjested that the lookup table be incbined at compile time.