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>2019-09-14 01:10:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-09-14 01:12:53 +0300
commit0547a7753643f45861306542857d97215ecb2c4f (patch)
tree1faad834721f7f13d4a0756bd80607963386fccd /source/blender/blenkernel/intern/softbody.c
parentd30ec73d763ed01795100ec5d3a0ef9dc8521f7b (diff)
Cleanup: use const args, variables
Diffstat (limited to 'source/blender/blenkernel/intern/softbody.c')
-rw-r--r--source/blender/blenkernel/intern/softbody.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/softbody.c b/source/blender/blenkernel/intern/softbody.c
index d3b72fb295d..b56403dfb6d 100644
--- a/source/blender/blenkernel/intern/softbody.c
+++ b/source/blender/blenkernel/intern/softbody.c
@@ -1049,8 +1049,8 @@ static int sb_detect_aabb_collisionCached(float UNUSED(force[3]),
/* +++ the face external section*/
static int sb_detect_face_pointCached(float face_v1[3],
- float face_v2[3],
- float face_v3[3],
+ const float face_v2[3],
+ const float face_v3[3],
float *damp,
float force[3],
struct Object *vertexowner,
@@ -1147,8 +1147,8 @@ static int sb_detect_face_pointCached(float face_v1[3],
}
static int sb_detect_face_collisionCached(float face_v1[3],
- float face_v2[3],
- float face_v3[3],
+ const float face_v2[3],
+ const float face_v3[3],
float *damp,
float force[3],
struct Object *vertexowner,
@@ -1326,7 +1326,7 @@ static void scan_for_ext_face_forces(Object *ob, float timenow)
/* +++ the spring external section*/
static int sb_detect_edge_collisionCached(float edge_v1[3],
- float edge_v2[3],
+ const float edge_v2[3],
float *damp,
float force[3],
struct Object *vertexowner,