mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-08-09 02:07:04 +08:00
feat: add outline for block that is looked
This commit is contained in:
@@ -7,15 +7,18 @@
|
||||
class TextureManager {
|
||||
private:
|
||||
GLuint m_texture_array;
|
||||
|
||||
GLuint m_block_status_array;
|
||||
void load_block_status(int status_id);
|
||||
void load_block_texture(unsigned block_id);
|
||||
|
||||
|
||||
public:
|
||||
TextureManager();
|
||||
~TextureManager();
|
||||
|
||||
void delet_texture();
|
||||
GLuint get_block_status_array();
|
||||
GLuint get_texture_array();
|
||||
|
||||
// Must call after MapTable::init_map() and glfwMakeContextCurrent(window);
|
||||
void init_texture();
|
||||
};
|
||||
Reference in New Issue
Block a user