stack variables 'aabb' needs to be 16-byte aligned, when used for SIMD

This commit is contained in:
erwin.coumans
2008-09-11 16:45:21 +00:00
parent fe0e2cd266
commit 96c7465265

View File

@@ -198,7 +198,8 @@ void btDbvtBroadphase::setAabb( btBroadphaseProxy* absproxy,
btDispatcher* /*dispatcher*/)
{
btDbvtProxy* proxy=(btDbvtProxy*)absproxy;
btDbvtVolume aabb=btDbvtVolume::FromMM(aabbMin,aabbMax);
ATTRIBUTE_ALIGNED16(btDbvtVolume) aabb=btDbvtVolume::FromMM(aabbMin,aabbMax);
#if DBVT_BP_PREVENTFALSEUPDATE
if(NotEqual(aabb,proxy->leaf->volume))
#endif