summaryrefslogtreecommitdiff
path: root/src/modules/ray/ray_render.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2017-12-23 22:56:24 -0800
committerVito Caputo <vcaputo@pengaru.com>2017-12-23 22:56:24 -0800
commitda7171d994d66198682a50f05954b629eb6fb4e4 (patch)
tree670404ff4e36118cdb1f75d6b3d8dc657277511b /src/modules/ray/ray_render.h
parent12b7b727f859c4b3129fdc12c4df74797de9471a (diff)
ray: constify input scene and camera parameters
also const the ray_euler_t basis
Diffstat (limited to 'src/modules/ray/ray_render.h')
-rw-r--r--src/modules/ray/ray_render.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ray/ray_render.h b/src/modules/ray/ray_render.h
index a6d6c67..dfd769f 100644
--- a/src/modules/ray/ray_render.h
+++ b/src/modules/ray/ray_render.h
@@ -8,7 +8,7 @@
typedef struct ray_render_t ray_render_t;
-ray_render_t * ray_render_new(ray_scene_t *scene, ray_camera_t *camera);
+ray_render_t * ray_render_new(const ray_scene_t *scene, const ray_camera_t *camera);
void ray_render_free(ray_render_t *render);
void ray_render_trace_fragment(ray_render_t *render, fb_fragment_t *fb_fragment);
© All Rights Reserved