Move rendering functions to own module
This commit is contained in:
12
include/render.h
Normal file
12
include/render.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef RENDER_H
|
||||
#define RENDER_H
|
||||
|
||||
#include "camera.h"
|
||||
#include "img.h"
|
||||
#include "scene.h"
|
||||
|
||||
void render(
|
||||
const camera_t *camera, const scene_t *scene, img_t *img_out,
|
||||
unsigned samples_per_pixel);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user