mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
update font rendering
This commit is contained in:
parent
b3ab037115
commit
edbd851d11
3 changed files with 58 additions and 35 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue