mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 13:01:49 +00:00
optimize WorldRenderer chunks sort
This commit is contained in:
parent
b23d31a321
commit
a21d87717e
3 changed files with 35 additions and 12 deletions
|
|
@ -44,6 +44,8 @@ class WorldRenderer {
|
|||
std::unique_ptr<Skybox> skybox;
|
||||
std::unique_ptr<Batch3D> batch3d;
|
||||
std::unique_ptr<ModelBatch> modelBatch;
|
||||
|
||||
std::vector<size_t> indices;
|
||||
|
||||
float timer = 0.0f;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue