diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2008-02-11 23:40:22 +0300 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2008-02-11 23:40:22 +0300 |
commit | bb715a93b962c4f1f25d54fd6e9a8e435a172f73 (patch) | |
tree | 245c98a120b6c0bf5d9c35a7738003137d297e9f /source/blender/blenkernel/intern/kdop.c | |
parent | c82e9d0cc213692607e3baeeb655be20e42edbdf (diff) |
Cloth: 1. Speedup of collisions (up to 50%, see new dancing ballerina stats here: http://www.dldw.de/tmp/index.php?file=i_cloth-kdop-dancingb.jpg ; 2. changed vertex paint reset behaviour to only reset cloth if vertex group is really used
Diffstat (limited to 'source/blender/blenkernel/intern/kdop.c')
-rw-r--r-- | source/blender/blenkernel/intern/kdop.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/source/blender/blenkernel/intern/kdop.c b/source/blender/blenkernel/intern/kdop.c index b5eafdf9c70..817844dce6f 100644 --- a/source/blender/blenkernel/intern/kdop.c +++ b/source/blender/blenkernel/intern/kdop.c @@ -120,15 +120,7 @@ static float KDOP_AXES[13][3] = ///////////// choose bounding volume here! ///////////// -// #define KDOP_26 - -// #define KDOP_14 - -// AABB: -// #define KDOP_8 - -// OBB: -#define KDOP_6 +#define KDOP_26 @@ -137,10 +129,9 @@ static float KDOP_AXES[13][3] = #define KDOP_START 0 #endif -// I didn't test this one! #ifdef KDOP_18 -#define KDOP_END 7 -#define KDOP_START 13 +#define KDOP_END 13 +#define KDOP_START 7 #endif #ifdef KDOP_14 |