nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
noise.cc File Reference
#include "terrain/noise.h"
#include <cmath>
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  nanommo

Functions

uint32_t nanommo::Hash (uint32_t seed, int32_t x, int32_t z)
float nanommo::Noise (uint32_t seed, float x, float z)
 Value noise: from -1 to 1, random at whole numbers, and smooth between them.
float nanommo::Fractal (uint32_t seed, float x, float z, int octaves)