J3D::DrawString is now fast.
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 1m33s

This commit is contained in:
2024-09-11 20:36:46 -04:00
parent f6e8875eb9
commit 1526a101c3
4 changed files with 122 additions and 133 deletions

View File

@@ -27,7 +27,7 @@ public:
//CachedGlyph(GLuint texture_id, char c);
CachedGlyph(char c, std::array<GLfloat, 12> texcoords, float x2o, float y2o, float w, float h, float advX, float advY);
char getCharacter();
[[nodiscard]] const std::array<GLfloat, 12> getTexCoords() const;
[[nodiscard]] std::array<GLfloat, 12> getTexCoords() const;
};
/// Represents a Font object as it exists in the font-cache.