diff options
Diffstat (limited to 'src/Math/Noise.hpp')
| -rw-r--r-- | src/Math/Noise.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Math/Noise.hpp b/src/Math/Noise.hpp new file mode 100644 index 0000000..80ceb47 --- /dev/null +++ b/src/Math/Noise.hpp @@ -0,0 +1,13 @@ +#pragma once + +#include "Vector.hpp" + +#define NOISE_SEED_SIZE 64 + +namespace Math { + +extern const uint8_t noise_seed[NOISE_SEED_SIZE][NOISE_SEED_SIZE]; + +float noise2d(Vector<2> pos); + +} \ No newline at end of file |
