[ODE] dCylinder and sqrtf on Mac OS X
slipch
slipch <slipch at gsc-game.kiev.ua>
Fri Mar 21 05:29:01 2003
Hello Olivier,
Friday, March 21, 2003, 1:45:39 PM, you wrote:
OM> Hello,
OM> I had to change all the sqrtf() to sqrt() in dCylinder.cpp to get it
OM> compile on Mac OS X. Is there a missing include or magic define that
OM> could fix it ?
sqrtf() declared in <math.h> and it is ANSI compatible.
Still it is no problem to write such define.
dSqrt must be better choice for this case. I'll regard it in newer
versions.
--
Best regards,
Konstantin Slipchenko mailto:slipch@gsc-game.kiev.ua