[SDL] cos,sin,tan
Joachim Schiele
js at dune2.de
Sun Jun 18 01:40:05 PDT 2000
hi
got the problem that when i use these matimatical functions my
compiler gets for cos(180) = 0.5XXXX and it should be -1 !!!!
I includeded math.h and all the things seem to be ok - but when i
tried just du uses these functions in a console-programm and compile
it with "cc -o programm programm.c -lm" it even didn't work - what's
wrong ?
It isn't a fault of SDL and it's not a fault of my libs i think.
Could someone please help me.
Thank you very much.
Bye
--
From:
Joachim Schiele
[ http://www.dune2.de || Linux - my way! ]
More information about the SDL
mailing list