mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
aabb block shape WIP + common refactor
This commit is contained in:
parent
73d87ae451
commit
0c35eeb072
21 changed files with 177 additions and 76 deletions
|
|
@ -4,11 +4,14 @@
|
|||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#include "../graphics/GfxContext.h"
|
||||
|
||||
class Batch2D;
|
||||
class Camera;
|
||||
class Level;
|
||||
class Block;
|
||||
class Assets;
|
||||
class Player;
|
||||
class Level;
|
||||
|
|
@ -38,6 +41,8 @@ class HudRenderer {
|
|||
gui::GUI* gui;
|
||||
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