diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-09-13 16:36:46 +0400 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 11:30:00 +0300 |
commit | 5322def57cdbb81d38c5ba8e8e617c697791d22b (patch) | |
tree | 9f3b042615975de2cc076dae9f6f2c8e9fc24f08 /source/blender/blenkernel/intern/cloth.c | |
parent | 1c8a33ab92ce8935165be29d2fc93e459c191286 (diff) |
Moved the cloth solver code into a new subfolder/library inside Blender
code.
The implicit solver itself should remain agnostic to the specifics of
the Blender data (cloth vs. hair). This way we could avoid the bloated
data conversion chain from particles/hair to derived mesh to cloth
modifier to implicit solver data and back. Every step in this chain adds
overhead as well as rounding errors and a possibility for bugs, not to
speak of making the code horribly complicated.
The new subfolder is named "physics" since it should be the start of a
somewhat "unified" physics systems combining all the various solvers in
the same place and managing things like synchronized time steps.
Diffstat (limited to 'source/blender/blenkernel/intern/cloth.c')
-rw-r--r-- | source/blender/blenkernel/intern/cloth.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/cloth.c b/source/blender/blenkernel/intern/cloth.c index 3932a8ead2f..89ad084b59e 100644 --- a/source/blender/blenkernel/intern/cloth.c +++ b/source/blender/blenkernel/intern/cloth.c @@ -47,6 +47,8 @@ #include "BKE_modifier.h" #include "BKE_pointcache.h" +#include "BPH_mass_spring.h" + // #include "PIL_time.h" /* timing for debug prints */ /* Our available solvers. */ |