aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-03-09 23:29:16 +0100
committerJulian T <julian@jtle.dk>2020-03-09 23:29:16 +0100
commit1f61a690ac1c1ec1b9b15b358925abbd29c487c6 (patch)
tree8e43bc06289472d2e110687e2835da165badadb2 /main.c
parentc94c3930af8c81568be50bdfaaac321b99e296d7 (diff)
Added anti aliasing
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
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);