mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-31 08:22:33 +00:00
start work on noise for chunk generation
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
mod generator;
|
||||
mod generic_generator;
|
||||
mod implementation;
|
||||
mod noise;
|
||||
mod seed;
|
||||
|
||||
pub use generator::WorldGenerator;
|
||||
use implementation::overworld::biome::plains::PlainsGenerator;
|
||||
use pumpkin_core::random::Random;
|
||||
pub use seed::Seed;
|
||||
|
||||
use generator::GeneratorInit;
|
||||
@@ -13,3 +15,7 @@ pub fn get_world_gen(seed: Seed) -> Box<dyn WorldGenerator> {
|
||||
// TODO decide which WorldGenerator to pick based on config.
|
||||
Box::new(PlainsGenerator::new(seed))
|
||||
}
|
||||
|
||||
pub struct ChunkRandom {
|
||||
sample_count: i32,
|
||||
}
|
||||
|
||||
1158
pumpkin-world/src/world_gen/noise.rs
Normal file
1158
pumpkin-world/src/world_gen/noise.rs
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user