Fix build error on OSX + Linux

This commit is contained in:
Ryan Huffman
2015-11-20 16:08:18 -08:00
committed by Andrew Meadows
parent 7f0877339e
commit 76d39d4439

View File

@@ -891,8 +891,8 @@ void btCollisionWorld::objectQuerySingleInternal(const btConvexShape* castShape,
const btDbvt* tree = compoundShape->getDynamicAabbTree(); const btDbvt* tree = compoundShape->getDynamicAabbTree();
btCompoundLeafCallback callback { colObjWrap, castShape, convexFromTrans, convexToTrans, btCompoundLeafCallback callback(colObjWrap, castShape, convexFromTrans, convexToTrans,
allowedPenetration, compoundShape, colObjWorldTransform, resultCallback }; allowedPenetration, compoundShape, colObjWorldTransform, resultCallback);
if (tree) { if (tree) {
const ATTRIBUTE_ALIGNED16(btDbvtVolume) bounds = btDbvtVolume::FromMM(fromLocalAabbMin, fromLocalAabbMax); const ATTRIBUTE_ALIGNED16(btDbvtVolume) bounds = btDbvtVolume::FromMM(fromLocalAabbMin, fromLocalAabbMax);