update font rendering

This commit is contained in:
MihailRis
2024-11-12 05:58:16 +03:00
parent b3ab037115
commit edbd851d11
3 changed files with 58 additions and 35 deletions
+2 -2
View File
@@ -50,10 +50,10 @@ public:
void draw(
Batch3D& batch,
const Camera& camera,
std::wstring_view text,
const glm::vec3& pos,
float scale = 1
const glm::vec3& right={1, 0, 0},
const glm::vec3& up={0, 1, 0}
) const;
const Texture* getPage(int page) const;