mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add particles collision detection
This commit is contained in:
parent
1974298c82
commit
b944f257f7
7 changed files with 58 additions and 22 deletions
|
|
@ -62,8 +62,9 @@ WorldRenderer::WorldRenderer(
|
|||
level->chunks.get(),
|
||||
&engine->getSettings()
|
||||
)),
|
||||
particles(std::make_unique<ParticlesRenderer>(*engine->getAssets())) {
|
||||
|
||||
particles(std::make_unique<ParticlesRenderer>(
|
||||
*engine->getAssets(), *frontend->getLevel()
|
||||
)) {
|
||||
renderer = std::make_unique<ChunksRenderer>(
|
||||
level, frontend->getContentGfxCache(), &engine->getSettings()
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue