Author Topic: cos & sin  (Read 1898 times)

CrazyLapinou

  • Guest
cos & sin
« on: December 26, 2009, 09:51:14 pm »
Hi !
I tried to use cos and sin functions (from math.h) and my game freeze...
I tried with cosf and sinf, but it is the same problem...
Is there any functional lib ?
Thank you ;)

flatmush

  • *
  • Posts: 283
Re: cos & sin
« Reply #1 on: December 27, 2009, 09:40:35 am »
If you look in my astro-lander sources then you'll find a functional fixed point sin/cos in "fixmath.h".

CrazyLapinou

  • Guest
Re: cos & sin
« Reply #2 on: December 27, 2009, 01:46:22 pm »
OK, thank's.
But I just removed console_printf and it work very well now ! I don't know what was the problem... :)

 

Post a new topic