Randomise scene

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