mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
Actual 3D block icons
This commit is contained in:
parent
cfda17e21d
commit
1fda002e0b
5 changed files with 81 additions and 61 deletions
|
|
@ -18,6 +18,7 @@ class Level;
|
|||
class Engine;
|
||||
class ContentGfxCache;
|
||||
class WorldRenderer;
|
||||
class BlocksPreview;
|
||||
|
||||
namespace gui {
|
||||
class GUI;
|
||||
|
|
@ -29,6 +30,7 @@ class HudRenderer {
|
|||
Assets* assets;
|
||||
Batch2D* batch;
|
||||
Camera* uicamera;
|
||||
BlocksPreview* blocksPreview;
|
||||
|
||||
int fps = 60;
|
||||
int fpsMin = 60;
|
||||
|
|
@ -42,7 +44,6 @@ class HudRenderer {
|
|||
const ContentGfxCache* const cache;
|
||||
WorldRenderer* renderer;
|
||||
|
||||
void drawBlockPreview(const Block* def, float x, float y, float w, float h, glm::vec4 tint);
|
||||
public:
|
||||
HudRenderer(Engine* engine,
|
||||
Level* level,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue