Bug in fastlib.h from code archive?

Started by
1 comment, last by Oliver 23 years, 2 months ago
Hi! I have a problem with the FastSin(), FastCos() and FastAbs() functions in the fastlib.h from the code archive. My program always crashes if I call one of them. The following error occurs: The instruction at "0x..." referenced memory at "0x...". The memory could not be "read". I have no clue whats wrong, can anyone please help me? I am using VC++ under Win2000.
Advertisement
Confirmed ;-) I already received a solution, but not here at work ;-)

You should look into Intels lib for doing PIII optimized sin/cos and maybe you could use a lookup table. Better than my "lockup" table ;-)

Tim

--------------------------
glvelocity.gamedev.net
www.gamedev.net/hosted/glvelocity
Tim--------------------------glvelocity.gamedev.netwww.gamedev.net/hosted/glvelocity
Ah, excellent! Thanks!
I''m eager to see the corrected versions of these functions.
I would prefer not to use a lookup table, though.

This topic is closed to new replies.

Advertisement