]> git.localhorst.tv Git - blank.git/blobdiff - src/graphics/Font.hpp
centos build config
[blank.git] / src / graphics / Font.hpp
index 1d4ff17f619823b14efabe3fa8ac6a1a1452bee6..d52d43f63e179df4539d4687f50d30609815e6cd 100644 (file)
@@ -1,8 +1,9 @@
 #ifndef BLANK_GRAPHICS_FONT_HPP_
 #define BLANK_GRAPHICS_FONT_HPP_
 
+#include "glm.hpp"
+
 #include <SDL_ttf.h>
-#include <glm/glm.hpp>
 
 
 namespace blank {
@@ -57,10 +58,10 @@ public:
 
        bool HasGlyph(Uint16) const noexcept;
 
-       glm::tvec2<int> TextSize(const char *) const;
+       glm::ivec2 TextSize(const char *) const;
 
-       Texture Render(const char *, SDL_Color) const;
-       void Render(const char *, SDL_Color, Texture &) const;
+       Texture Render(const char *) const;
+       void Render(const char *, Texture &) const;
 
 private:
        TTF_Font *handle;