diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-14 16:29:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-14 16:32:24 +0300 |
commit | 03b2371387dcae9f801cabbc1819b1d7e3350829 (patch) | |
tree | 0300655f20a06a8e5c807b5fe6263b47c686dedb /source/blender/physics/intern | |
parent | bc4fe45aef7e52f9e7a2bd5e370c6791c58af832 (diff) |
Cleanup: move trailing comments to avoid wrapping code
Some statements were split across multiple lines because of their
trailing comments.
In most cases it's clearer to put the comments above.
Diffstat (limited to 'source/blender/physics/intern')
-rw-r--r-- | source/blender/physics/intern/implicit_blender.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source/blender/physics/intern/implicit_blender.c b/source/blender/physics/intern/implicit_blender.c index 93df51ce58d..c2eb7b465e1 100644 --- a/source/blender/physics/intern/implicit_blender.c +++ b/source/blender/physics/intern/implicit_blender.c @@ -1158,12 +1158,9 @@ bool BPH_mass_spring_solve_velocities(Implicit_Data *data, float dt, ImplicitSol double start = PIL_check_seconds_timer(); # endif - cg_filtered(data->dV, - data->A, - data->B, - data->z, - data->S, - result); /* conjugate gradient algorithm to solve Ax=b */ + /* Conjugate gradient algorithm to solve Ax=b. */ + cg_filtered(data->dV, data->A, data->B, data->z, data->S, result); + // cg_filtered_pre(id->dV, id->A, id->B, id->z, id->S, id->P, id->Pinv, id->bigI); # ifdef DEBUG_TIME |