diff options
author | Kent Mein <mein@cs.umn.edu> | 2008-10-03 17:16:10 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2008-10-03 17:16:10 +0400 |
commit | 0eaccf881b4b23ebbf8f51ef679cab0c0e97094a (patch) | |
tree | b0957273c51aa6aa011ea0e325b8ceb9498fbc75 /extern/bullet2/src/LinearMath | |
parent | 59dbf08253adf987870c279eff442527606f7174 (diff) |
Solaris was having problems with sqrtf and friends again.
I changed sqrtf to sqrt in elbeem
in bullet2 I added defines found in floatpatch.h eventually
we should make a "floatpatch.h" that all of blender can use.
Kent
Diffstat (limited to 'extern/bullet2/src/LinearMath')
-rw-r--r-- | extern/bullet2/src/LinearMath/btScalar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extern/bullet2/src/LinearMath/btScalar.h b/extern/bullet2/src/LinearMath/btScalar.h index fa0262940ef..c24e4644005 100644 --- a/extern/bullet2/src/LinearMath/btScalar.h +++ b/extern/bullet2/src/LinearMath/btScalar.h @@ -35,6 +35,10 @@ inline int btGetVersion() #define BT_DEBUG #endif +/* XXX Need to fix these... needed for SunOS 5.8 */ +#define sinf(a) sin((double)(a)) +#define cosf(a) cos((double)(a)) +#define fabsf(a) fabs((double)(a)) #ifdef WIN32 |