diff options
| author | Mel <einebeere@gmail.com> | 2023-06-12 17:09:55 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2023-06-12 17:14:03 +0200 |
| commit | d0de60dc33df75fbcacb53a09568b14d0fd48cb9 (patch) | |
| tree | 7aefdbb81f114552881834bd5b0d842bc2bdb691 /src/World/Generator.hpp | |
| parent | 23b0bc4d1ddc9fad3c32e8257497ddd13ac6a155 (diff) | |
| download | meowcraft-d0de60dc33df75fbcacb53a09568b14d0fd48cb9.tar.zst meowcraft-d0de60dc33df75fbcacb53a09568b14d0fd48cb9.zip | |
Multithreaded world generation with Perlin
Diffstat (limited to 'src/World/Generator.hpp')
| -rw-r--r-- | src/World/Generator.hpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/World/Generator.hpp b/src/World/Generator.hpp index f184ff9..afe43c6 100644 --- a/src/World/Generator.hpp +++ b/src/World/Generator.hpp @@ -9,24 +9,7 @@ namespace MC::World { class Generator { public: Generator() = default; - Chunk generate(int64_t chunk_x, int64_t chunk_y); - -private: - Matrix<Chunk::Width, Chunk::Width> ocean_weights_pass( - int64_t chunk_x, int64_t chunk_y - ); - Matrix<Chunk::Width, Chunk::Width, Vector<BiomeType::Size>> biome_weights_pass( - int64_t chunk_x, int64_t chunk_y, - Matrix<Chunk::Width, Chunk::Width> ocean_weight - ); - Matrix<Chunk::Width, Chunk::Width> height_pass( - int64_t chunk_x, int64_t chunk_y, - Matrix<Chunk::Width, Chunk::Width, Vector<BiomeType::Size>> biome_weights - ); - Matrix<Chunk::Width, Chunk::Width, BiomeType> flat_biome_pass( - Matrix<Chunk::Width, Chunk::Width, Vector<BiomeType::Size>> biome_weights - ); }; } |
