Randomise scene

This commit is contained in:
Camden Dixie O'Brien
2025-09-22 22:00:43 +01:00
parent 4062285bb7
commit 1ee0571178
3 changed files with 66 additions and 33 deletions

View File

@@ -10,7 +10,9 @@ typedef struct {
} rng_t;
rng_t rng_init(unsigned seed);
uint32_t rng_uint32(rng_t *rng);
double rng_canon(rng_t *rng);
double rng_disc(rng_t *rng);
vec3_t rng_vec3(rng_t *rng);
vec3_t rng_gaussian_xy(rng_t *rng, double stddev);