add support for btScaledBvhTriangleMeshShape serialization (export and import through btBulletWorldImporter)

This commit is contained in:
erwin.coumans
2011-03-12 20:25:03 +00:00
parent 0c11538a28
commit 7c3db274c2
7 changed files with 726 additions and 652 deletions

View File

@@ -53,6 +53,7 @@ typedef struct bInvalidHandle {
class btMeshPartData;
class btStridingMeshInterfaceData;
class btTriangleMeshShapeData;
class btScaledTriangleMeshShapeData;
class btCompoundShapeChildData;
class btCompoundShapeData;
class btCylinderShapeData;
@@ -379,6 +380,15 @@ typedef struct bInvalidHandle {
};
// -------------------------------------------------- //
class btScaledTriangleMeshShapeData
{
public:
btTriangleMeshShapeData m_trimeshShapeData;
btVector3FloatData m_localScaling;
};
// -------------------------------------------------- //
class btCompoundShapeChildData
{