add BspDemo.bsp data file
add sphere2.urdf move btSpatialAlgebra into LinearMath remove some warnings, introduce BT_ZERO, BT_ONE, BT_HALF as defines for 0.f/0., 1.f/1., 0.5f/0.5 respectively
This commit is contained in:
@@ -486,9 +486,17 @@ SIMD_FORCE_INLINE btScalar btFmod(btScalar x,btScalar y) { return fmodf(x,y); }
|
||||
#ifdef BT_USE_DOUBLE_PRECISION
|
||||
#define SIMD_EPSILON DBL_EPSILON
|
||||
#define SIMD_INFINITY DBL_MAX
|
||||
#define BT_ONE 1.0
|
||||
#define BT_ZERO 0.0
|
||||
#define BT_TWO 2.0
|
||||
#define BT_HALF 0.5
|
||||
#else
|
||||
#define SIMD_EPSILON FLT_EPSILON
|
||||
#define SIMD_INFINITY FLT_MAX
|
||||
#define BT_ONE 1.0f
|
||||
#define BT_ZERO 0.0f
|
||||
#define BT_TWO 2.0f
|
||||
#define BT_HALF 0.5f
|
||||
#endif
|
||||
|
||||
SIMD_FORCE_INLINE btScalar btAtan2Fast(btScalar y, btScalar x)
|
||||
|
||||
Reference in New Issue
Block a user