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>2012-03-11 23:09:01 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-11 23:09:01 +0400
commitc21c58f44c16b3d503d81577c1943f1f4b47b675 (patch)
tree1cb0bc60de38cd96f67f196e9c71f096b9c2c691 /source/blender/blenkernel/intern/mball.c
parent65895a2a383738d6edf0d82b428483065d672305 (diff)
style cleanup, also remove unused externs.
Diffstat (limited to 'source/blender/blenkernel/intern/mball.c')
-rw-r--r--source/blender/blenkernel/intern/mball.c6
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;