diff options
author | Julian T <julian@jtle.dk> | 2020-03-23 16:14:53 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-03-23 16:14:53 +0100 |
commit | 8fc5b36510c5964873d88069b61b558bc3ef23f6 (patch) | |
tree | 849aa4694da76ca000d27137ad35746b3976d81d /ray.h | |
parent | 6ae610fd7f28ba5ba7a8e0233cd6fb0ac5df4a8b (diff) |
Removed dynamic allocation of color in main.c
Diffstat (limited to 'ray.h')
-rw-r--r-- | ray.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ 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, unsigned samples, void *seed); +void ray_trace(space_t *s, unsigned int x, unsigned int y, unsigned samples, color_t *c, void *seed); #endif |