mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
move Lighting instance to ChunksController
This commit is contained in:
parent
c5049d0e24
commit
b7664b4188
14 changed files with 60 additions and 61 deletions
|
|
@ -44,6 +44,9 @@ Player::Player(
|
|||
position(position),
|
||||
inventory(std::move(inv)),
|
||||
eid(eid),
|
||||
chunks(std::make_unique<Chunks>(
|
||||
3, 3, 0, 0, level->events.get(), level->content->getIndices()
|
||||
)),
|
||||
fpCamera(level->getCamera("core:first-person")),
|
||||
spCamera(level->getCamera("core:third-person-front")),
|
||||
tpCamera(level->getCamera("core:third-person-back")),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue