Fixed alignment issue in btDbvt::CollideTV
This commit is contained in:
@@ -844,12 +844,13 @@ collideTT(root0,root1,xform,policy);
|
|||||||
//
|
//
|
||||||
DBVT_PREFIX
|
DBVT_PREFIX
|
||||||
inline void btDbvt::collideTV( const btDbvtNode* root,
|
inline void btDbvt::collideTV( const btDbvtNode* root,
|
||||||
const btDbvtVolume& volume,
|
const btDbvtVolume& vol,
|
||||||
DBVT_IPOLICY)
|
DBVT_IPOLICY)
|
||||||
{
|
{
|
||||||
DBVT_CHECKTYPE
|
DBVT_CHECKTYPE
|
||||||
if(root)
|
if(root)
|
||||||
{
|
{
|
||||||
|
ATTRIBUTE_ALIGNED16(btDbvtVolume) volume(vol);
|
||||||
btAlignedObjectArray<const btDbvtNode*> stack;
|
btAlignedObjectArray<const btDbvtNode*> stack;
|
||||||
stack.reserve(SIMPLE_STACKSIZE);
|
stack.reserve(SIMPLE_STACKSIZE);
|
||||||
stack.push_back(root);
|
stack.push_back(root);
|
||||||
|
|||||||
Reference in New Issue
Block a user