remove Blender-hack for older compilers (just apply the hack only in the Blender copy of Bullet)
This commit is contained in:
@@ -155,14 +155,6 @@ inline int btGetVersion()
|
|||||||
#endif //__CELLOS_LV2__
|
#endif //__CELLOS_LV2__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/// older compilers (gcc 3.x) and Sun needs double version of sqrt etc.
|
|
||||||
/// exclude Apple Intel (i's assumed to be a Macbook or new Intel Dual Core Processor)
|
|
||||||
#if defined (__sun) || defined (__sun__) || defined (__sparc) || (defined (__APPLE__) && ! defined (__i386__))
|
|
||||||
//use slow double float precision operation on those platforms
|
|
||||||
#ifndef BT_USE_DOUBLE_PRECISION
|
|
||||||
#define BT_FORCE_DOUBLE_FUNCTIONS
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
///The btScalar type abstracts floating point numbers, to easily switch between double and single floating point precision.
|
///The btScalar type abstracts floating point numbers, to easily switch between double and single floating point precision.
|
||||||
#if defined(BT_USE_DOUBLE_PRECISION)
|
#if defined(BT_USE_DOUBLE_PRECISION)
|
||||||
|
|||||||
Reference in New Issue
Block a user