Cleanup some trivial compilation warnings.

This commit is contained in:
sjbaker
2007-03-19 04:27:59 +00:00
parent b8ce13adb1
commit 6b102c65b3
6 changed files with 37 additions and 35 deletions

View File

@@ -32,12 +32,12 @@
#define BP_MAX_HANDLES 1500000 //arbitrary maximum number of handles
#define BP_HANDLE_SENTINEL 0xffffffff
#define BP_HANDLE_MASK 0xfffffffc
#else BP_USE_FIXEDPOINT_INT_32
#else
#define BP_FP_INT_TYPE unsigned short int
#define BP_MAX_HANDLES 32767
#define BP_HANDLE_SENTINEL 0xffff
#define BP_HANDLE_MASK 0xfffe
#endif //BP_USE_FIXEDPOINT_INT_32
#endif
/// btAxisSweep3 is an efficient implementation of the 3d axis sweep and prune broadphase.
@@ -129,4 +129,5 @@ public:
};
#endif //AXIS_SWEEP_3_H
#endif

View File

@@ -16,10 +16,10 @@ subject to the following restrictions:
#include <BulletCollision/CollisionShapes/btPolyhedralConvexShape.h>
btPolyhedralConvexShape::btPolyhedralConvexShape()
:m_optionalHull(0),
m_localAabbMin(1,1,1),
:m_localAabbMin(1,1,1),
m_localAabbMax(-1,-1,-1),
m_isLocalAabbValid(false)
m_isLocalAabbValid(false),
m_optionalHull(0)
{
}
@@ -163,4 +163,5 @@ void btPolyhedralConvexShape::recalcLocalAabb()
m_localAabbMin[i] = tmp[i]-m_collisionMargin;
}
}