mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
feat: environment is primary
This commit is contained in:
parent
4aaa5b2d7e
commit
3476bddc6b
10 changed files with 60 additions and 29 deletions
|
|
@ -31,6 +31,7 @@ Level::Level(
|
|||
entities(std::make_unique<Entities>(*this)),
|
||||
players(std::make_unique<Players>(*this)),
|
||||
pathfinding(std::make_unique<voxels::Pathfinding>(*this)) {
|
||||
|
||||
const auto& worldInfo = world->getInfo();
|
||||
auto& cameraIndices = content.getIndices(ResourceType::CAMERA);
|
||||
for (size_t i = 0; i < cameraIndices.size(); i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue