Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-01-14 02:47:50 +0300
committerCampbell Barton <campbell@blender.org>2022-01-14 03:23:46 +0300
commitcea588b9ef8f9bdb2729fb233d6f1ed0886700e1 (patch)
treefa0bfce1f026a4af40aaf72eecd6fde101d8b938 /source/blender/simulation
parent7a0cf2c72f58be31824f5c3b17844ba54797b594 (diff)
Cleanup: spelling in comments, C++ style comments for disabled code
Also ensure space at end of comment.
Diffstat (limited to 'source/blender/simulation')
-rw-r--r--source/blender/simulation/intern/SIM_mass_spring.cpp2
-rw-r--r--source/blender/simulation/intern/implicit_blender.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/simulation/intern/SIM_mass_spring.cpp b/source/blender/simulation/intern/SIM_mass_spring.cpp
index 36513690584..73b287b4233 100644
--- a/source/blender/simulation/intern/SIM_mass_spring.cpp
+++ b/source/blender/simulation/intern/SIM_mass_spring.cpp
@@ -625,7 +625,7 @@ static void cloth_calc_force(
}
#endif
- /* cloth_calc_volume_force(clmd); */
+ // cloth_calc_volume_force(clmd);
#ifdef CLOTH_FORCE_DRAG
SIM_mass_spring_force_drag(data, drag);
diff --git a/source/blender/simulation/intern/implicit_blender.c b/source/blender/simulation/intern/implicit_blender.c
index add047bf8c8..95bf59101e6 100644
--- a/source/blender/simulation/intern/implicit_blender.c
+++ b/source/blender/simulation/intern/implicit_blender.c
@@ -830,7 +830,7 @@ static int cg_filtered(lfVector *ldV, fmatrix3x3 *lA, lfVector *lB, lfVector *z,
s_prev = s;
s = dot_lfvector(r, r, numverts);
- /* d = r+d*(s/s_prev); */
+ // d = r+d*(s/s_prev);
add_lfvector_lfvectorS(d, r, d, (s / s_prev), numverts);
filter(d, S);