Files
batomorph/include/rng.h
Camden Dixie O'Brien 172956ae46 Parallelise rendering
2025-09-22 19:49:13 +01:00

18 lines
213 B
C

#ifndef RNG_H
#define RNG_H
#include "vec3.h"
#include <stdint.h>
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