mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
Show chunk borders debug option
This commit is contained in:
parent
275e4af9fd
commit
f54283cab1
6 changed files with 57 additions and 9 deletions
|
|
@ -14,6 +14,7 @@ class Player;
|
|||
class Level;
|
||||
class Engine;
|
||||
class ContentGfxCache;
|
||||
class WorldRenderer;
|
||||
|
||||
namespace gui {
|
||||
class GUI;
|
||||
|
|
@ -37,8 +38,9 @@ class HudRenderer {
|
|||
std::shared_ptr<gui::UINode> debugPanel;
|
||||
gui::GUI* gui;
|
||||
const ContentGfxCache* const cache;
|
||||
WorldRenderer* renderer;
|
||||
public:
|
||||
HudRenderer(Engine* engine, Level* level, const ContentGfxCache* cache);
|
||||
HudRenderer(Engine* engine, Level* level, const ContentGfxCache* cache, WorldRenderer* renderer);
|
||||
~HudRenderer();
|
||||
|
||||
void update();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue