Mail Archives: djgpp/2000/03/30/17:40:33
>>I must call sin() inside a timer function (i can't use a LUT,
>>would be too inaccurate...)
Damian Yerrick wrote:
>Would cubic interpolation on a lookup table with 1,024 entries be too
inaccurate?
Of course not! That would be PERFECT!!!
........
WHAT is a cubic interpolation? :-)
Hans-Bernard Broeker wrote:
>...you can always lookup the size of the sin() function...
How?
Allegro uses a fake function... I can't add a fake func on a library
func...
I have to compile my own sin() from the libm src?
Grendel wrote:
>...the code executed in a timer function should be as little as
possible...
Yeah I know, but i need to update a sinusoid graph with a very accurate
timing...
A polling loop would lose steps when doing something slow (like the
screen refresh)
I've already tried it.
However thanx to all for the feedback and for keeping helping newbies...
- Raw text -