refactor font code into classes

This commit is contained in:
2017-02-06 21:08:41 +00:00
parent 7f8cbd0981
commit fd7f62693e
5 changed files with 131 additions and 78 deletions

View File

@@ -9,7 +9,6 @@ protected:
GLvoid* ioff[2]{ 0 };
struct vertex_t { glm::vec4 pos; glm::vec2 uvs; };
public:
// att::AttrubutesMap attribs;
bool create_buffers(GLvoid* idx, GLvoid* vertices, int isize, int vsize);
void draw_fill() const;
void draw_stroke() const;