just use 16-byte aligned data for solverbody, not 64byte

fixes Issue 659
This commit is contained in:
erwin.coumans
2012-12-17 21:29:20 +00:00
parent 7e14e79da0
commit 0c555a5afe
2 changed files with 2 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ operator+(const btSimdScalar& v1, const btSimdScalar& v2)
#endif
///The btSolverBody is an internal datastructure for the constraint solver. Only necessary data is packed to increase cache coherence/performance.
ATTRIBUTE_ALIGNED64 (struct) btSolverBody
ATTRIBUTE_ALIGNED16 (struct) btSolverBody
{
BT_DECLARE_ALIGNED_ALLOCATOR();
btTransform m_worldTransform;

View File

@@ -97,7 +97,7 @@ class btRigidBody : public btCollisionObject
protected:
ATTRIBUTE_ALIGNED64(btVector3 m_deltaLinearVelocity);
ATTRIBUTE_ALIGNED16(btVector3 m_deltaLinearVelocity);
btVector3 m_deltaAngularVelocity;
btVector3 m_angularFactor;
btVector3 m_invMass;