EBO implementation + resize + keyboard

This commit is contained in:
Corentin 2021-07-07 00:51:33 +09:00
commit 748644b220
8 changed files with 188 additions and 24 deletions

View file

@ -12,5 +12,8 @@ class Application
public:
virtual void run() = 0;
virtual std::weak_ptr<Window> add_window(int width, int height, const std::string& title) = 0;
protected:
static bool application_created;
};
} // namespace uui

View file

@ -16,6 +16,7 @@ public:
private:
GLuint gl_vbo;
GLuint gl_vao;
GLuint gl_ebo;
GLuint gl_program;
};