Created a KX_SoftBodyDeformer for real-time soft bodies.
[blender.git] / extern / bullet2 / src / BulletSoftBody / btSoftBody.h
index 4306ed9c4714761e2b0516b88f7ac24c4d522732..e89bbcc4fa8c2c4c4c327ab7cfb0f23159b4f97d 100644 (file)
@@ -29,7 +29,7 @@ subject to the following restrictions:
 #include "BulletCollision/BroadphaseCollision/btDbvt.h"
 
 class btBroadphaseInterface;
-class btCollisionDispatcher;
+class btDispatcher;
 
 /* btSoftBodyWorldInfo */ 
 struct btSoftBodyWorldInfo
@@ -39,7 +39,7 @@ struct        btSoftBodyWorldInfo
        btScalar                                water_offset;
        btVector3                               water_normal;
        btBroadphaseInterface*  m_broadphase;
-       btCollisionDispatcher*  m_dispatcher;
+       btDispatcher*   m_dispatcher;
        btVector3                               m_gravity;
        btSparseSdf<3>                  m_sparsesdf;
 };     
@@ -607,6 +607,7 @@ public:
        virtual ~btSoftBody();
        /* Check for existing link                                                                                              */ 
 
+       btAlignedObjectArray<int>       m_userIndexMapping;
 
        virtual void    setCollisionShape(btCollisionShape* collisionShape)
        {