mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
refactor world renderer a bit
This commit is contained in:
parent
b69c92b330
commit
5380bcf013
13 changed files with 257 additions and 203 deletions
|
|
@ -58,10 +58,12 @@ class ChunksRenderer {
|
|||
size_t index, const Camera& camera, bool culling
|
||||
);
|
||||
std::shared_ptr<VoxelsRenderVolume> prepareVoxelsVolume(const Chunk& chunk);
|
||||
std::shared_ptr<VoxelsVolume> prepareVoxelsVolumeDynamic(const Chunk& chunk, int padding);
|
||||
|
||||
size_t enqueuedInFrame = 0;
|
||||
public:
|
||||
ChunksRenderer(
|
||||
const Level* level,
|
||||
const Level& level,
|
||||
const Chunks& chunks,
|
||||
const Assets& assets,
|
||||
const Frustum& frustum,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue