From 0547a7753643f45861306542857d97215ecb2c4f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 14 Sep 2019 08:10:50 +1000 Subject: Cleanup: use const args, variables --- source/blender/blenkernel/intern/softbody.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/blenkernel/intern/softbody.c') 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, -- cgit v1.2.3