Parallelise rendering

This commit is contained in:
2025-09-23 15:36:08 +01:00
parent 8827f22359
commit 75b646dd44
4 changed files with 93 additions and 39 deletions

View File

@@ -3,9 +3,15 @@
#include "vec3.h"
void rng_init();
#include <stdint.h>
double rng_double();
vec3_t rng_vec3();
typedef struct {
uint32_t state;
} rng_t;
rng_t rng_init(unsigned seed);
double rng_double(rng_t *rng);
vec3_t rng_vec3(rng_t *rng);
#endif