summary refs log tree commit diff
path: root/src/World/Generation/ChunkNeighbors.hpp
blob: 1207c60db3e225ceb08ebe87ddd0ddc8106f46fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "../Chunk.hpp"

namespace MC::World::Generation {
struct ChunkNeighbors {
    Chunk *north, *east, *south, *west;
    Chunk *north_east, *south_east, *south_west, *north_west;
};

Chunk::BlockData get_block_wrapping(const Chunk& chunk, const ChunkNeighbors& neighbors, Vector<3, I32> pos);

}