btBulletWorldImporter support for loading of btCollisionObject from a .bullet file.

minor compilation fix on PS3

Yippie, revision 2000!
This commit is contained in:
erwin.coumans
2010-02-13 00:43:42 +00:00
parent e71051e931
commit 1a87fbf2f0
3 changed files with 106 additions and 31 deletions

View File

@@ -24,6 +24,7 @@ subject to the following restrictions:
class btBulletFile;
class btCollisionShape;
class btCollisionObject;
class btRigidBody;
class btTypedConstraint;
class btDynamicsWorld;
@@ -56,6 +57,8 @@ protected:
btTriangleIndexVertexArray* createMeshInterface(btStridingMeshInterfaceData& meshData);
static btRigidBody& getFixedBody();
public:
btBulletWorldImporter(btDynamicsWorld* world);
@@ -96,6 +99,9 @@ public:
const btTransform& startTransform,
btCollisionShape* shape);
virtual btCollisionObject* createCollisionObject( const btTransform& startTransform, btCollisionShape* shape);
virtual btCollisionShape* createPlaneShape(const btVector3& planeNormal,btScalar planeConstant);
virtual btCollisionShape* createBoxShape(const btVector3& halfExtents);
virtual btCollisionShape* createSphereShape(btScalar radius);