Initial commit with cleaned history
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include "helpers.h"
|
||||
|
||||
void colorize(int height, int width, RGBTRIPLE image[height][width])
|
||||
{
|
||||
for (int i = 0; i < height; i++)
|
||||
{
|
||||
for (int j = 0; j < width; j++)
|
||||
{
|
||||
if (image[i][j].rgbtRed == 0x00 && image[i][j].rgbtGreen == 0x00 && image[i][j].rgbtBlue == 0x00)
|
||||
{
|
||||
image[i][j].rgbtBlue = 0xf0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user