diff options
author | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-23 22:14:13 -0400 |
---|---|---|
committer | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-23 22:14:13 -0400 |
commit | f6a0e340bc82cb5fb96f836686bd59aaffd5db97 (patch) | |
tree | 8d7e96bbd997be9d0a1e9bf088689366aeaae96e /src/text.hpp | |
parent | 0869328b12ff9b77000915f37443dcf2468d881e (diff) |
Fixed text rendering
Diffstat (limited to 'src/text.hpp')
-rw-r--r-- | src/text.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/text.hpp b/src/text.hpp index c3479ca..d68613d 100644 --- a/src/text.hpp +++ b/src/text.hpp @@ -18,6 +18,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +// hello + #ifndef SYSTEM_TEXT_HPP_ #define SYSTEM_TEXT_HPP_ @@ -61,6 +63,9 @@ struct Font { GLuint tex; GLuint vbo; + float width; + float height; + std::array<FT_Info, 96> data; // Stores currently shown text at given index into VBO? std::vector<Text> text; |