Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergej Reich <sergej.reich@googlemail.com>2013-12-26 21:15:56 +0400
committerSergej Reich <sergej.reich@googlemail.com>2013-12-26 21:38:06 +0400
commitceb2430dd7b54c31d267eb2be8d412e6d7f1b13a (patch)
treeac959a55f993ab404a2d33327b7856a6206297bc /intern/rigidbody/RBI_api.h
parentc96601138dfe08705fd4375527d322176b8fa126 (diff)
Rigidbody: Allow triangle mesh shapes to deform during simulation
Only supported when using the "Deform" mesh source.
Diffstat (limited to 'intern/rigidbody/RBI_api.h')
-rw-r--r--intern/rigidbody/RBI_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/rigidbody/RBI_api.h b/intern/rigidbody/RBI_api.h
index 97e8e6891ff..2e7a996781b 100644
--- a/intern/rigidbody/RBI_api.h
+++ b/intern/rigidbody/RBI_api.h
@@ -247,6 +247,8 @@ extern void RB_shape_delete(rbCollisionShape *shape);
extern float RB_shape_get_margin(rbCollisionShape *shape);
extern void RB_shape_set_margin(rbCollisionShape *shape, float value);
+extern void RB_shape_trimesh_update(rbCollisionShape *shape, float *vertices, int num_verts, int vert_stride, float min[3], float max[3]);
+
/* ********************************** */
/* Constraints */