Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2883 for code/trunk/src


Ignore:
Timestamp:
Mar 31, 2009, 10:28:36 PM (16 years ago)
Author:
landauf
Message:

reapplied mingw-patch

Location:
code/trunk/src/bullet
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/bullet/LinearMath/btScalar.h

    r2882 r2883  
    237237SIMD_FORCE_INLINE btScalar btExp(btScalar x) { return expf(x); }
    238238SIMD_FORCE_INLINE btScalar btLog(btScalar x) { return logf(x); }
    239 SIMD_FORCE_INLINE btScalar btPow(btScalar x,btScalar y) { return powf(x,y); }
     239  #if defined( __MINGW32__ )
     240  SIMD_FORCE_INLINE btScalar btPow(btScalar x,btScalar y) { return pow(x,y); }
     241  #else
     242  SIMD_FORCE_INLINE btScalar btPow(btScalar x,btScalar y) { return powf(x,y); }
     243  #endif
    240244       
    241245#endif
  • code/trunk/src/bullet/changes_orxonox.diff

    r2710 r2883  
    1 --- LinearMath\btScalar.h       So Feb 15 18:28:13 2009
    2 +++ LinearMath\btScalar.h       Sa Feb 14 23:04:53 2009
    3 @@ -227,7 +227,11 @@
     1Index: btScalar.h
     2===================================================================
     3--- btScalar.h  (revision 2882)
     4+++ btScalar.h  (working copy)
     5@@ -236,7 +236,11 @@
    46 SIMD_FORCE_INLINE btScalar btAtan2(btScalar x, btScalar y) { return atan2f(x, y); }
    57 SIMD_FORCE_INLINE btScalar btExp(btScalar x) { return expf(x); }
     
    1113+  SIMD_FORCE_INLINE btScalar btPow(btScalar x,btScalar y) { return powf(x,y); }
    1214+  #endif
    13  
     15
    1416 #endif
    15  
     17
Note: See TracChangeset for help on using the changeset viewer.