Cleanup: unnecessary comma use

This commit is contained in:
2016-03-05 09:09:05 +11:00
parent 5513762946
commit acebfbb666
11 changed files with 86 additions and 35 deletions

View File

@@ -3827,7 +3827,9 @@ void RE_sample_material_color(
return;
}
v1=mloop[mlooptri[tri_index].tri[0]].v, v2=mloop[mlooptri[tri_index].tri[1]].v, v3=mloop[mlooptri[tri_index].tri[2]].v;
v1 = mloop[mlooptri[tri_index].tri[0]].v;
v2 = mloop[mlooptri[tri_index].tri[1]].v;
v3 = mloop[mlooptri[tri_index].tri[2]].v;
normal_tri_v3(normal, mvert[v1].co, mvert[v2].co, mvert[v3].co);
/* generate shadeinput with data required */

View File

@@ -269,7 +269,9 @@ static float metadensity(Object *ob, const float co[3])
/* MB_BALL default */
switch (ml->type) {
case MB_ELIPSOID:
tp[0] /= ml->expx, tp[1] /= ml->expy, tp[2] /= ml->expz;
tp[0] /= ml->expx;
tp[1] /= ml->expy;
tp[2] /= ml->expz;
break;
case MB_CUBE:
tp[2] = (tp[2] > ml->expz) ? (tp[2] - ml->expz) : ((tp[2] < -ml->expz) ? (tp[2] + ml->expz) : 0.f);

View File

@@ -3250,7 +3250,9 @@ static void copyto_abufz(RenderPart *pa, int *arectz, int *rectmask, int sample)
}
}
rd++; rza++, rma++;
rza++;
rma++;
rd++;
}
}
}