mirror of https://github.com/me50/kukemuna.git
automated commit by check50 [check50=True]
This commit is contained in:
parent
dcd83c0cd7
commit
e12dfebf58
|
|
@ -109,9 +109,9 @@ void blur(int height, int width, RGBTRIPLE image[height][width])
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
image[i][j].rgbtRed = round(sumRed / count);
|
image[i][j].rgbtRed = round(sumRed / (float) count);
|
||||||
image[i][j].rgbtGreen = round(sumGreen / count);
|
image[i][j].rgbtGreen = round(sumGreen / (float) count);
|
||||||
image[i][j].rgbtBlue = round(sumBlue / count);
|
image[i][j].rgbtBlue = round(sumBlue / (float) count);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue