Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/external/bullet/changes_orxonox.diff @ 6140

Last change on this file since 6140 was 5781, checked in by rgrieder, 15 years ago

Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).

  • Property svn:eol-style set to native
File size: 684 bytes
RevLine 
[2883]1Index: btScalar.h
2===================================================================
3--- btScalar.h  (revision 2882)
4+++ btScalar.h  (working copy)
5@@ -236,7 +236,11 @@
[2705]6 SIMD_FORCE_INLINE btScalar btAtan2(btScalar x, btScalar y) { return atan2f(x, y); }
7 SIMD_FORCE_INLINE btScalar btExp(btScalar x) { return expf(x); }
8 SIMD_FORCE_INLINE btScalar btLog(btScalar x) { return logf(x); }
9-SIMD_FORCE_INLINE btScalar btPow(btScalar x,btScalar y) { return powf(x,y); }
10+  #if defined( __MINGW32__ )
11+  SIMD_FORCE_INLINE btScalar btPow(btScalar x,btScalar y) { return pow(x,y); }
12+  #else
13+  SIMD_FORCE_INLINE btScalar btPow(btScalar x,btScalar y) { return powf(x,y); }
14+  #endif
[2883]15
[2705]16 #endif
[2883]17
Note: See TracBrowser for help on using the repository browser.