aboutsummaryrefslogtreecommitdiff
path: root/ray.h
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 /ray.h
parentc94c3930af8c81568be50bdfaaac321b99e296d7 (diff)
Added anti aliasing
Diffstat (limited to 'ray.h')
-rw-r--r--ray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ray.h b/ray.h
index 208dcfc..74749ff 100644
--- a/ray.h
+++ b/ray.h
@@ -17,6 +17,6 @@ COORD_T ray_intersect_sphere(sphere_t *s, ray_t *ray, bool skip_dist);
COORD_T ray_intersect_plane(plane_t *p, ray_t *ray, bool skip_dist);
object_t *ray_cast(space_t *s, ray_t *r, COORD_T *dist_ret, bool chk, COORD_T chk_dist);
-color_t *ray_trace(space_t *s, unsigned int x, unsigned int y);
+color_t *ray_trace(space_t *s, unsigned int x, unsigned int y, unsigned samples);
#endif