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:
erwin.coumans
2010-02-04 05:28:17 +00:00
parent af1dafc659
commit 99d9fddc42
12 changed files with 440 additions and 416 deletions

View File

@@ -527,9 +527,9 @@ public:
///override the default global value of a parameter (such as ERP or CFM), optionally provide the axis (0..5).
///If no axis is provided, it uses the default axis for this constraint.
virtual void btGeneric6DofConstraint::setParam(int num, btScalar value, int axis = -1);
virtual void setParam(int num, btScalar value, int axis = -1);
///return the local value of parameter
virtual btScalar btGeneric6DofConstraint::getParam(int num, int axis = -1) const;
virtual btScalar getParam(int num, int axis = -1) const;
virtual int calculateSerializeBufferSize() const;