align btQuadWord on 16byte boundary
slightly improved friction model
This commit is contained in:
@@ -23,7 +23,7 @@ subject to the following restrictions:
|
||||
#include "PlatformDefinitions.h"
|
||||
#include "LinearMath/btAlignedObjectArray.h"
|
||||
|
||||
#define DEBUG_SpuCollisionTaskProcess 1
|
||||
//#define DEBUG_SpuCollisionTaskProcess 1
|
||||
|
||||
|
||||
#define CMD_GATHER_AND_PROCESS_PAIRLIST 1
|
||||
|
||||
@@ -36,7 +36,7 @@ struct SpuConvexPolyhedronVertexData
|
||||
};
|
||||
|
||||
|
||||
inline btPoint3 localGetSupportingVertexWithoutMargin(int shapeType, void* shape, btVector3 localDir,struct SpuConvexPolyhedronVertexData* convexVertexData)//, int *featureIndex)
|
||||
inline btPoint3 localGetSupportingVertexWithoutMargin(int shapeType, void* shape, btVector3& localDir,struct SpuConvexPolyhedronVertexData* convexVertexData)//, int *featureIndex)
|
||||
{
|
||||
switch (shapeType)
|
||||
{
|
||||
|
||||
@@ -169,7 +169,7 @@ void OdeP2PJoint::GetInfo2(Info2 *info)
|
||||
int bt_get_limit_motor_info2(
|
||||
btRotationalLimitMotor * limot,
|
||||
btRigidBody * body0, btRigidBody * body1,
|
||||
BU_Joint::Info2 *info, int row, btVector3 ax1, int rotational)
|
||||
BU_Joint::Info2 *info, int row, btVector3& ax1, int rotational)
|
||||
{
|
||||
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@ public:
|
||||
int bt_get_limit_motor_info2(
|
||||
btRotationalLimitMotor * limot,
|
||||
btRigidBody * body0, btRigidBody * body1,
|
||||
BU_Joint::Info2 *info, int row, btVector3 ax1, int rotational);
|
||||
BU_Joint::Info2 *info, int row, btVector3& ax1, int rotational);
|
||||
|
||||
#endif //CONTACT_JOINT_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user