From 1f61a690ac1c1ec1b9b15b358925abbd29c487c6 Mon Sep 17 00:00:00 2001 From: Julian T Date: Mon, 9 Mar 2020 23:29:16 +0100 Subject: Added anti aliasing --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index cd66dee..d1b8080 100644 --- a/main.c +++ b/main.c @@ -61,7 +61,7 @@ int main() pgm_write_header(stdout, TESTW, TESTH); for (int y = TESTH; y; y--) { for (int x = TESTW; x; x--) { - color_t *c = ray_trace(&s, x, y); + color_t *c = ray_trace(&s, x, y, 8); if (c) { pgm_write_pixel(stdout, c); -- cgit v1.2.3