Resolution fixed and Centered text
This commit is contained in:
@@ -27,6 +27,7 @@ public:
|
||||
|
||||
FT_Face Face;
|
||||
|
||||
int FontSize = 16;
|
||||
|
||||
~Font();
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user