diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-11 23:09:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-11 23:09:01 +0400 |
commit | c21c58f44c16b3d503d81577c1943f1f4b47b675 (patch) | |
tree | 1cb0bc60de38cd96f67f196e9c71f096b9c2c691 /source/blender/blenkernel/intern/mball.c | |
parent | 65895a2a383738d6edf0d82b428483065d672305 (diff) |
style cleanup, also remove unused externs.
Diffstat (limited to 'source/blender/blenkernel/intern/mball.c')
-rw-r--r-- | source/blender/blenkernel/intern/mball.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/mball.c b/source/blender/blenkernel/intern/mball.c index f3225a6b6f5..22f8d38de4a 100644 --- a/source/blender/blenkernel/intern/mball.c +++ b/source/blender/blenkernel/intern/mball.c @@ -696,12 +696,12 @@ float metaball(float x, float y, float z) } else{ for(a=0; a<totelem; a++) { - dens+= densfunc( mainb[a], x, y, z); + dens += densfunc(mainb[a], x, y, z); } } } else{ - dens+= densfunc( mainb[0], x, y, z); + dens += densfunc(mainb[0], x, y, z); } return thresh - dens; @@ -1803,7 +1803,7 @@ float init_meta(Scene *scene, Object *ob) /* return totsize */ } for(a=0; a<totelem; a++) { - thresh+= densfunc( mainb[a], 2.0f*totsize, 2.0f*totsize, 2.0f*totsize); + thresh += densfunc(mainb[a], 2.0f * totsize, 2.0f * totsize, 2.0f * totsize); } return totsize; |