mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-06-18 00:27:02 +08:00
feat: add ui renderer
This commit is contained in:
@@ -20,15 +20,16 @@ public:
|
||||
|
||||
private:
|
||||
Camera m_camera;
|
||||
TextureManager m_texture_manager;
|
||||
World m_world;
|
||||
Renderer m_renderer{m_camera, m_world};
|
||||
Renderer m_renderer{m_camera, m_world, m_texture_manager};
|
||||
|
||||
Window m_window{m_renderer};
|
||||
|
||||
|
||||
GLuint m_texture_array;
|
||||
|
||||
TextureManager m_texture_manager;
|
||||
|
||||
|
||||
|
||||
void init();
|
||||
|
||||
Reference in New Issue
Block a user