WIP commit, (just in case my HD breaks down). Don't expect anything to work. Code...
[blender.git] / source / blender / makesdna / DNA_cloth_types.h
index 7f5527466e4762ffbce597a93d1749448531ce00..b4592e4d7245d109bd6db6451db1e3bac9dc7d94 100644 (file)
@@ -130,7 +130,6 @@ typedef struct CollisionSettings
        float   friction;               /* Friction/damping applied on contact with other object.*/
        short   collision_type;         /* which collision system is used.                      */
        short   loop_count;             /* How many iterations for the collision loop.          */
-       struct  LinkNode *collision_list;       /* e.g. pointer to temp memory for collisions */
        int     flags;                  /* collision flags defined in BKE_cloth.h */
        int     pad;
 }
@@ -157,9 +156,13 @@ typedef struct Cloth
        unsigned char           old_solver_type;
        unsigned char           pad2;
        short                   pad3;
-       void                    *tree;                  /* collision tree for this cloth object */
+       struct CollisionTree    *tree;          /* collision tree for this cloth object */
        struct MFace            *mfaces;
-       void                    *implicit;              /* our implicit solver connects to this pointer */
+       struct Implicit_Data    *implicit;      /* our implicit solver connects to this pointer */
+       struct MVert            *x;
+       struct MVert            *xnew;
+       struct MVert            *current_x;
+       struct MVert            *current_xnew;
 }
 Cloth;