mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
add 3D text render (WIP)
This commit is contained in:
parent
c5ca9128e9
commit
b3ab037115
9 changed files with 176 additions and 25 deletions
|
|
@ -57,6 +57,16 @@ public:
|
|||
const UVRegion& uv,
|
||||
const glm::vec4& tint
|
||||
);
|
||||
void sprite(
|
||||
const glm::vec3& pos,
|
||||
const glm::vec3& up,
|
||||
const glm::vec3& right,
|
||||
float w,
|
||||
float h,
|
||||
int atlasRes,
|
||||
int index,
|
||||
glm::vec4 tint
|
||||
);
|
||||
void xSprite(
|
||||
float w,
|
||||
float h,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue