Move rendering functions to own module

This commit is contained in:
2025-09-23 15:36:08 +01:00
parent 5edca0b565
commit fc9980b838
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