fix OSX compilation

This commit is contained in:
erwin.coumans
2011-04-15 19:17:34 +00:00
parent 1b305562be
commit 7dd0cbb726

View File

@@ -109,7 +109,7 @@ inline bool IsAlmostZero(const btVector3& v)
#define TEST_INTERNAL_OBJECTS 1
#ifdef TEST_INTERNAL_OBJECTS
__forceinline void BoxSupport(const btScalar extents[3], const btScalar sv[3], btScalar p[3])
inline void BoxSupport(const btScalar extents[3], const btScalar sv[3], btScalar p[3])
{
// This version is ~11.000 cycles (4%) faster overall in one of the tests.
// IR(p[0]) = IR(extents[0])|(IR(sv[0])&SIGN_BITMASK);
@@ -425,4 +425,4 @@ void btPolyhedralContactClipping::clipHullAgainstHull(const btVector3& separatin
clipFaceAgainstHull(separatingNormal, hullA, transA,worldVertsB1, minDist, maxDist,resultOut);
}
}