• Advertisement

Archived

This topic is now archived and is closed to further replies.

Bug in fastlib.h from code archive?

This topic is 6215 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Ah, excellent! Thanks!
I''m eager to see the corrected versions of these functions.
I would prefer not to use a lookup table, though.

Share this post


Link to post
Share on other sites

  • Advertisement