Override btCollisionWorld::addCollisionObject with flags more appropriate for btDynamicsWorld (StaticFilter)
Minor fixes (#ifndef SPU_COLLISION_OBJECT_WRAPPER_H block etc) Only update 'setNumTasks' when necessary Revert vectormath.h include (can't resolve conflicts with PS3 SDK, need additional #include path)
This commit is contained in:
@@ -32,6 +32,11 @@ public:
|
||||
return 3;
|
||||
}
|
||||
|
||||
btVector3& getVertexPtr(int index)
|
||||
{
|
||||
return m_vertices1[index];
|
||||
}
|
||||
|
||||
const btVector3& getVertexPtr(int index) const
|
||||
{
|
||||
return m_vertices1[index];
|
||||
@@ -77,7 +82,10 @@ public:
|
||||
|
||||
}
|
||||
|
||||
|
||||
btTriangleShape() : btPolyhedralConvexShape ()
|
||||
{
|
||||
m_shapeType = TRIANGLE_SHAPE_PROXYTYPE;
|
||||
}
|
||||
|
||||
btTriangleShape(const btVector3& p0,const btVector3& p1,const btVector3& p2) : btPolyhedralConvexShape ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user