summaryrefslogtreecommitdiff
path: root/src/modules/ray/ray_euler.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_euler.h
parent12b7b727f859c4b3129fdc12c4df74797de9471a (diff)
ray: constify input scene and camera parameters
also const the ray_euler_t basis
Diffstat (limited to 'src/modules/ray/ray_euler.h')
-rw-r--r--src/modules/ray/ray_euler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ray/ray_euler.h b/src/modules/ray/ray_euler.h
index 3a74cab..39da17e 100644
--- a/src/modules/ray/ray_euler.h
+++ b/src/modules/ray/ray_euler.h
@@ -28,6 +28,6 @@ typedef struct ray_euler_t {
#define RAY_EULER_DEGREES(_deg) \
(_deg * (2 * M_PI / 360.0f))
-void ray_euler_basis(ray_euler_t *e, ray_3f_t *forward, ray_3f_t *up, ray_3f_t *left);
+void ray_euler_basis(const ray_euler_t *e, ray_3f_t *forward, ray_3f_t *up, ray_3f_t *left);
#endif
© All Rights Reserved