Add world generator sources and binary

This commit is contained in:
chelsea
2025-12-02 18:38:45 -06:00
parent 3f92f5add7
commit 2482740b89
10 changed files with 4163 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#ifndef WORLDGEN_NOISE_H
#define WORLDGEN_NOISE_H
#include <stdint.h>
typedef struct {
int perm[512];
} simplex_noise;
void simplex_init(simplex_noise *noise, uint32_t seed);
double simplex_noise2(simplex_noise *noise, double x, double y);
double simplex_noise3(simplex_noise *noise, double x, double y, double z);
#endif