Parallelise rendering

This commit is contained in:
cdo committed 2025-09-23 15:36:08 +01:00
1 parent 8827f22359
commit 75b646dd44
4 files changed
+93 -39

No files matched your search

+9 -3
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