1 #ifndef BLANK_UI_HUD_H_
2 #define BLANK_UI_HUD_H_
4 #include "../model/Model.hpp"
5 #include "../model/OutlineModel.hpp"
13 class BlockTypeRegistry;
14 class DirectionalLighting;
19 explicit HUD(const BlockTypeRegistry &);
21 HUD(const HUD &) = delete;
22 HUD &operator =(const HUD &) = delete;
24 void Viewport(float width, float height) noexcept;
25 void Viewport(float x, float y, float width, float height) noexcept;
27 void Display(const Block &);
29 void Render(DirectionalLighting &) noexcept;
32 const BlockTypeRegistry &types;
35 Model::Buffer block_buf;
36 glm::mat4 block_transform;
39 OutlineModel crosshair;
40 glm::mat4 crosshair_transform;