summaryrefslogtreecommitdiff
path: root/src/libs/ray/ray_render.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/ray/ray_render.h')
-rw-r--r--src/libs/ray/ray_render.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libs/ray/ray_render.h b/src/libs/ray/ray_render.h
new file mode 100644
index 0000000..dfd769f
--- /dev/null
+++ b/src/libs/ray/ray_render.h
@@ -0,0 +1,15 @@
+#ifndef _RAY_RENDER_H
+#define _RAY_RENDER_H
+
+#include "fb.h"
+
+#include "ray_camera.h"
+#include "ray_scene.h"
+
+typedef struct ray_render_t ray_render_t;
+
+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);
+
+#endif
© All Rights Reserved