mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
move Chunks from Level to Player
This commit is contained in:
parent
b7664b4188
commit
1c18c02092
40 changed files with 450 additions and 220 deletions
|
|
@ -10,12 +10,14 @@
|
|||
class Texture;
|
||||
class Assets;
|
||||
class Camera;
|
||||
class Chunks;
|
||||
class MainBatch;
|
||||
class Level;
|
||||
struct GraphicsSettings;
|
||||
|
||||
class ParticlesRenderer {
|
||||
const Level& level;
|
||||
const Chunks& chunks;
|
||||
const Assets& assets;
|
||||
const GraphicsSettings* settings;
|
||||
std::unordered_map<const Texture*, std::vector<Particle>> particles;
|
||||
|
|
@ -29,6 +31,7 @@ public:
|
|||
ParticlesRenderer(
|
||||
const Assets& assets,
|
||||
const Level& level,
|
||||
const Chunks& chunks,
|
||||
const GraphicsSettings* settings
|
||||
);
|
||||
~ParticlesRenderer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue