mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
refactor WorldRenderer
This commit is contained in:
parent
42b26707cb
commit
f9f4d2037f
5 changed files with 150 additions and 110 deletions
|
|
@ -18,7 +18,7 @@ size_t ParticlesRenderer::aliveEmitters = 0;
|
|||
ParticlesRenderer::ParticlesRenderer(
|
||||
const Assets& assets, const Level& level, const GraphicsSettings* settings
|
||||
)
|
||||
: batch(std::make_unique<MainBatch>(1024)),
|
||||
: batch(std::make_unique<MainBatch>(4096)),
|
||||
level(level),
|
||||
assets(assets),
|
||||
settings(settings) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue