X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgraphics%2FFont.hpp;h=d52d43f63e179df4539d4687f50d30609815e6cd;hb=dcd54cacda98c2c0f7cf0c7a9131fb858d8ee10a;hp=45ea9284b233bc7d7cb1e2a01666d5708f6b141d;hpb=1bc6f085c53cdeaa08e2c00e821d4e2e25cae1c8;p=blank.git diff --git a/src/graphics/Font.hpp b/src/graphics/Font.hpp index 45ea928..d52d43f 100644 --- a/src/graphics/Font.hpp +++ b/src/graphics/Font.hpp @@ -1,8 +1,9 @@ #ifndef BLANK_GRAPHICS_FONT_HPP_ #define BLANK_GRAPHICS_FONT_HPP_ +#include "glm.hpp" + #include -#include namespace blank { @@ -57,7 +58,7 @@ public: bool HasGlyph(Uint16) const noexcept; - glm::tvec2 TextSize(const char *) const; + glm::ivec2 TextSize(const char *) const; Texture Render(const char *) const; void Render(const char *, Texture &) const;