Move rendering functions to own module

This commit is contained in:
Camden Dixie O'Brien
2025-09-22 22:12:51 +01:00
parent 1ee0571178
commit 7e273a3e8d
6 changed files with 177 additions and 167 deletions

12
include/render.h Normal file
View 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