diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2015-03-02 14:18:57 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-03-02 14:18:57 +0300 |
commit | cea3892813e996352f0b550e7bd9647264be5331 (patch) | |
tree | d681dae11119bf6f747088edf81078a3c843d299 /source/blender/physics/intern/implicit_blender.c | |
parent | bc20a745bee32fa9d3f4d40c51c27798d50f581a (diff) |
Revert "Reshuffle applying of solver results a bit to ensure it works exactly"
This reverts commit 4c723eb80e299eb6ca11ad72b5fcbe8746c4a854.
Diffstat (limited to 'source/blender/physics/intern/implicit_blender.c')
-rw-r--r-- | source/blender/physics/intern/implicit_blender.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/physics/intern/implicit_blender.c b/source/blender/physics/intern/implicit_blender.c index c732c1d25f4..5b1d83a3eef 100644 --- a/source/blender/physics/intern/implicit_blender.c +++ b/source/blender/physics/intern/implicit_blender.c @@ -1175,15 +1175,10 @@ bool BPH_mass_spring_solve_positions(Implicit_Data *data, float dt) return true; } -void BPH_mass_spring_apply_positions(Implicit_Data *data) +void BPH_mass_spring_apply_result(Implicit_Data *data) { int numverts = data->M[0].vcount; cp_lfvector(data->X, data->Xnew, numverts); -} - -void BPH_mass_spring_apply_velocities(Implicit_Data *data) -{ - int numverts = data->M[0].vcount; cp_lfvector(data->V, data->Vnew, numverts); } |