mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
hud refactor (part II)
This commit is contained in:
parent
8118afce5c
commit
e493c67dfa
13 changed files with 142 additions and 91 deletions
|
|
@ -21,7 +21,7 @@ class Texture;
|
|||
class Frustum;
|
||||
class Engine;
|
||||
class Chunks;
|
||||
class ContentGfxCache;
|
||||
class LevelFrontend;
|
||||
class Skybox;
|
||||
|
||||
class WorldRenderer {
|
||||
|
|
@ -34,7 +34,7 @@ class WorldRenderer {
|
|||
bool drawChunk(size_t index, Camera* camera, Shader* shader, bool culling);
|
||||
void drawChunks(Chunks* chunks, Camera* camera, Shader* shader);
|
||||
public:
|
||||
WorldRenderer(Engine* engine, Level* level, const ContentGfxCache* cache);
|
||||
WorldRenderer(Engine* engine, Level* level, LevelFrontend* frontend);
|
||||
~WorldRenderer();
|
||||
|
||||
void draw(const GfxContext& context, Camera* camera);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue