mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
optimize (part 1)
This commit is contained in:
parent
4400366719
commit
b28bcf052b
5 changed files with 61 additions and 18 deletions
|
|
@ -54,6 +54,7 @@ class ChunksRenderer {
|
|||
bool drawChunk(
|
||||
size_t index, const Camera& camera, Shader& shader, bool culling
|
||||
);
|
||||
std::unique_ptr<Mesh> sortedMesh;
|
||||
public:
|
||||
ChunksRenderer(
|
||||
const Level* level,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue