As an alternative to looping over neighbouring slices while generating terrain to find features such as hill peaks or biomes:
As we only generate the slices in chunks anyway, we move that assumption into the gen_slices function, then we generate the features per chunk first and store them in a separate map. This way we can loop over the features within our reach, instead of the slices.
As an alternative to looping over neighbouring slices while generating terrain to find features such as hill peaks or biomes:
As we only generate the slices in chunks anyway, we move that assumption into the
gen_slicesfunction, then we generate the features per chunk first and store them in a separate map. This way we can loop over the features within our reach, instead of the slices.