Cleanup: unnecessary comma use
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -3250,7 +3250,9 @@ static void copyto_abufz(RenderPart *pa, int *arectz, int *rectmask, int sample)
|
||||
}
|
||||
}
|
||||
|
||||
rd++; rza++, rma++;
|
||||
rza++;
|
||||
rma++;
|
||||
rd++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user