Binary serialization in the .bullet file format (work-in-progress)

This commit is contained in:
erwin.coumans
2009-12-08 18:02:37 +00:00
parent 385c16e309
commit 3edd806b88
14 changed files with 1057 additions and 522 deletions

View File

@@ -21,6 +21,8 @@ subject to the following restrictions:
#include "LinearMath/btMatrix3x3.h"
#include "BulletCollision/BroadphaseCollision/btBroadphaseProxy.h" //for the shape types
///The btCollisionShape class provides an interface for collision shapes that can be shared among btCollisionObjects.
class btCollisionShape
{
@@ -113,5 +115,14 @@ public:
};
///for serialization
struct btCollisionShapeData
{
void *m_userPointer;
int m_shapeType;
char m_padding[4];
};
#endif //COLLISION_SHAPE_H