stbtt text testing succesful

This commit is contained in:
2017-02-05 20:15:52 +00:00
parent e2792534bc
commit 7f8cbd0981
10 changed files with 113 additions and 22 deletions

View File

@@ -14,6 +14,13 @@ class App
Texture2D font_tex;
std::vector<stbtt_bakedchar> chars;
Plane plane;
GLuint font_array;
int font_array_count = 0;
GLuint font_buffers[2];
const int w = 512;
const int h = 512;
const int num_chars = 96;
const int start_char = 32;
public:
static App I;
float width;