Fix build error on OSX + Linux
This commit is contained in:
committed by
Andrew Meadows
parent
7f0877339e
commit
76d39d4439
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user