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:
Diffstat (limited to 'source/blender/blenkernel/intern/fluidsim.c')
-rw-r--r--source/blender/blenkernel/intern/fluidsim.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/fluidsim.c b/source/blender/blenkernel/intern/fluidsim.c
index 587fe75031f..d3d0952f3f8 100644
--- a/source/blender/blenkernel/intern/fluidsim.c
+++ b/source/blender/blenkernel/intern/fluidsim.c
@@ -91,20 +91,20 @@ void initElbeemMesh(struct Scene *scene, struct Object *ob,
*numVertices = totvert;
verts = MEM_callocN( totvert*3*sizeof(float), "elbeemmesh_vertices");
- for(i=0; i<totvert; i++) {
+ for (i=0; i<totvert; i++) {
copy_v3_v3(&verts[i*3], mvert[i].co);
- if(useGlobalCoords) { mul_m4_v3(ob->obmat, &verts[i*3]); }
+ if (useGlobalCoords) { mul_m4_v3(ob->obmat, &verts[i*3]); }
}
*vertices = verts;
- for(i=0; i<totface; i++) {
+ for (i=0; i<totface; i++) {
countTris++;
- if(mface[i].v4) { countTris++; }
+ if (mface[i].v4) { countTris++; }
}
*numTriangles = countTris;
tris = MEM_callocN( countTris*3*sizeof(int), "elbeemmesh_triangles");
countTris = 0;
- for(i=0; i<totface; i++) {
+ for (i=0; i<totface; i++) {
int face[4];
face[0] = mface[i].v1;
face[1] = mface[i].v2;
@@ -115,7 +115,7 @@ void initElbeemMesh(struct Scene *scene, struct Object *ob,
tris[countTris*3+1] = face[1];
tris[countTris*3+2] = face[2];
countTris++;
- if(face[3]) {
+ if (face[3]) {
tris[countTris*3+0] = face[0];
tris[countTris*3+1] = face[2];
tris[countTris*3+2] = face[3];