Cleanup: style

This commit is contained in:
Campbell Barton
2018-11-21 05:25:42 +11:00
parent ec908beab3
commit 5aa728ec7e
3 changed files with 7 additions and 7 deletions

View File

@@ -637,7 +637,7 @@ static void studiolight_spherical_harmonics_apply_band_factors(StudioLight *sl,
int index = 0, dst_idx = 0;
for (int band = 0; band < STUDIOLIGHT_SH_BANDS; band++) {
for (int m = 0; m < SQUARE(band+1) - SQUARE(band); m++) {
for (int m = 0; m < SQUARE(band + 1) - SQUARE(band); m++) {
/* Skip L3 */
if (band != 3) {
mul_v3_v3fl(sl->spherical_harmonics_coefs[dst_idx++], sh[index], sl_sh_band_factors[band]);