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 <ideasman42@gmail.com>2020-11-09 07:46:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-09 07:47:08 +0300
commit8c846cccd6bdfd3e90a695fabbf05f53e5466a57 (patch)
tree43dd63ccf63019781b248a85cbf5486200d24873 /source/blender/simulation
parent39012146e142bf400c7140d90ecfd27c45b589ca (diff)
Cleanup: clang-format
Diffstat (limited to 'source/blender/simulation')
-rw-r--r--source/blender/simulation/intern/SIM_mass_spring.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/source/blender/simulation/intern/SIM_mass_spring.cpp b/source/blender/simulation/intern/SIM_mass_spring.cpp
index 29b44da8fe9..ce626498e8e 100644
--- a/source/blender/simulation/intern/SIM_mass_spring.cpp
+++ b/source/blender/simulation/intern/SIM_mass_spring.cpp
@@ -901,8 +901,18 @@ static LinkNode *cloth_continuum_add_hair_segments(HairGrid *grid,
zero_v3(dir3);
}
- SIM_hair_volume_add_segment(
- grid, x1, v1, x2, v2, x3, v3, x4, v4, spring1 ? dir1 : nullptr, dir2, spring3 ? dir3 : nullptr);
+ SIM_hair_volume_add_segment(grid,
+ x1,
+ v1,
+ x2,
+ v2,
+ x3,
+ v3,
+ x4,
+ v4,
+ spring1 ? dir1 : nullptr,
+ dir2,
+ spring3 ? dir3 : nullptr);
}
return next_spring_link;