Resolution fixed and Centered text

This commit is contained in:
viktorljung
2016-01-19 11:45:34 +01:00
parent c4594524da
commit dbe56280a6
9 changed files with 80 additions and 30 deletions
+1
View File
@@ -27,6 +27,7 @@ public:
FT_Face Face;
int FontSize = 16;
~Font();
+1 -1
View File
@@ -25,7 +25,7 @@ private:
GLuint VAO, VBO;
void RenderText(std::string text, Font* font, GLfloat scale, glm::vec4 color, glm::mat4 modelMatrix, glm::mat4 projectionMatrix, glm::mat4 viewMatrix);
void RenderText(std::string text, Font* font, glm::vec4 color, glm::mat4 modelMatrix, glm::mat4 projectionMatrix, glm::mat4 viewMatrix);
ShaderProgram* m_TextProgram;