mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +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
|
|
@ -8,6 +8,7 @@
|
|||
#include "settings.hpp"
|
||||
#include "voxels/voxel.hpp"
|
||||
|
||||
class Chunks;
|
||||
class Camera;
|
||||
class Inventory;
|
||||
class ContentReport;
|
||||
|
|
@ -55,6 +56,7 @@ class Player : public Serializable {
|
|||
entityid_t eid;
|
||||
entityid_t selectedEid = 0;
|
||||
public:
|
||||
std::unique_ptr<Chunks> chunks; // not in use yet
|
||||
std::shared_ptr<Camera> fpCamera, spCamera, tpCamera;
|
||||
std::shared_ptr<Camera> currentCamera;
|
||||
bool debug = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue