blob: 69daf86ef8481670356fd4f8bd15edad5e2ac716 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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, unsigned frame_width, unsigned frame_height);
void ray_render_free(ray_render_t *render);
void ray_render_trace_fragment(ray_render_t *render, fb_fragment_t *fb_fragment);
#endif
|