Hmmm,
Well, I can't test it from here, but this seems like it might work. (If not, I will think harder and do some testing). Thanks for the feedback Martin.
Code:sincos: 'use angle as deg.dd for example 35999 is 359.99 degrees if ang < 9001 then ang = 9000 - ang 'change degrees to radians if ang > 9000 then ang = 45000 - ang 'change degrees to crazy radians ang = ang * 466 ang = div32 256 asm call sin_cos endasm return
Bookmarks