Replaced most STL std::vector with btAlignedObjectArray.
Same interface but less features (push_back, pop_back, clear, size, [] etc). To prepare for SIMD/SSE code: Added #define ATTRIBUTE_ALIGNED16(a) __declspec(align(16)) a
This commit is contained in:
@@ -21,11 +21,10 @@ subject to the following restrictions:
|
||||
|
||||
|
||||
|
||||
|
||||
class btQuadWord
|
||||
ATTRIBUTE_ALIGNED16 (class btQuadWord)
|
||||
{
|
||||
protected:
|
||||
ATTRIBUTE_ALIGNED16 (btScalar m_x);
|
||||
btScalar m_x;
|
||||
btScalar m_y;
|
||||
btScalar m_z;
|
||||
btScalar m_unusedW;
|
||||
|
||||
Reference in New Issue
Block a user