1#ifndef NANOMMO_TERRAIN_NOISE_H_
2#define NANOMMO_TERRAIN_NOISE_H_
10uint32_t
Hash(uint32_t seed, int32_t x, int32_t z);
13float Noise(uint32_t seed,
float x,
float z);
17float Fractal(uint32_t seed,
float x,
float z,
int octaves);
float Fractal(uint32_t seed, float x, float z, int octaves)
uint32_t Hash(uint32_t seed, int32_t x, int32_t z)
float Noise(uint32_t seed, float x, float z)
Value noise: from -1 to 1, random at whole numbers, and smooth between them.