mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
cleanup
This commit is contained in:
parent
38b478bc8d
commit
b7cd116e62
3 changed files with 16 additions and 33 deletions
|
|
@ -26,7 +26,7 @@ Level::Level(
|
|||
: world(std::move(worldPtr)),
|
||||
content(content),
|
||||
chunks(std::make_unique<GlobalChunks>(*this)),
|
||||
physics(std::make_unique<PhysicsSolver>(glm::vec3(0, -22.6f, 0))),
|
||||
physics(std::make_unique<PhysicsSolver>(*chunks, glm::vec3(0, -22.6f, 0))),
|
||||
events(std::make_unique<LevelEvents>()),
|
||||
entities(std::make_unique<Entities>(*this)),
|
||||
players(std::make_unique<Players>(*this)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue