diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-09-24 10:55:29 +0400 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 11:30:02 +0300 |
commit | 6394189e68ac7d3022044e851c9670b10e023cce (patch) | |
tree | bcba92e05475db8b098d6127827d1a30aead7784 /source/blender/physics/intern/implicit.h | |
parent | e44187cd5f3b3d908c7d7231ef247b3704a62b52 (diff) |
Clear forces and constraints together at the start of the time step,
easier to verify.
Diffstat (limited to 'source/blender/physics/intern/implicit.h')
-rw-r--r-- | source/blender/physics/intern/implicit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/physics/intern/implicit.h b/source/blender/physics/intern/implicit.h index 8c860d69a24..b915b07b315 100644 --- a/source/blender/physics/intern/implicit.h +++ b/source/blender/physics/intern/implicit.h @@ -129,7 +129,7 @@ bool BPH_mass_spring_solve(struct Implicit_Data *data, float dt, struct Implicit void BPH_mass_spring_apply_result(struct Implicit_Data *data); /* Clear the force vector at the beginning of the time step */ -void BPH_mass_spring_force_clear(struct Implicit_Data *data); +void BPH_mass_spring_clear_forces(struct Implicit_Data *data); /* Fictitious forces introduced by moving coordinate systems */ void BPH_mass_spring_force_reference_frame(struct Implicit_Data *data, int index, const float acceleration[3], const float omega[3], const float domega_dt[3]); /* Simple uniform gravity force */ |