~evantj/imgtobraille

6f6d1df55cbf189158573f102e7a4735a66e14df — Evan Johnston 1 year, 2 months ago 8ff9859
remove useless function
why the hell was that even there? blame says it's been here since the
initial commit /shrug
1 files changed, 0 insertions(+), 21 deletions(-)

M braille.c
M braille.c => braille.c +0 -21
@@ 26,27 26,6 @@ output_block(FILE *out, struct block cell)
	fputc(tmp, out);
}

struct block
test(uint8_t colors[24])
{
	struct block output = { 0 };

	for (int i = 0; i < 8; i++) {
		output.pixels[i] = true;
	}

	int a = 0 * 3;

	output.color_a[0] = colors[0 + a];
	output.color_a[1] = colors[1 + a];
	output.color_a[2] = colors[2 + a];

	output.color_b[0] = colors[6];
	output.color_b[1] = colors[7];
	output.color_b[2] = colors[8];
	return output;
}

struct block*
image_to_blocks(uint8_t *image, int w, int h)
{