add name for collision shape and constraint serialization (to objects, shapes and constaints can be mapped to user data)
updated serialization structures and header files (for new 'm_name' field, replacing user pointer) fix issue with btGeneric6DofConstraint::setParam in headerfile
This commit is contained in:
@@ -31,7 +31,7 @@ namespace Bullet {
|
||||
class btCollisionShapeData
|
||||
{
|
||||
public:
|
||||
void *m_userPointer;
|
||||
char *m_name;
|
||||
int m_shapeType;
|
||||
char m_padding[4];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user