testing bitmap font generation and draw using stb_truetype

This commit is contained in:
2017-02-02 21:54:48 +00:00
parent 06b19dc596
commit d2f59c3ea1
6 changed files with 97 additions and 16 deletions

View File

@@ -10,6 +10,10 @@ class App
Sampler sampler;
Texture2D tex;
LayoutManager layout;
stbtt_fontinfo font;
Texture2D font_tex;
std::vector<stbtt_bakedchar> chars;
Plane plane;
public:
static App I;
float width;