Mercurial > games > semicongine
changeset 1393:2edd1f471894
autocommit
author | sam <sam@basx.dev> |
---|---|
date | Sat, 14 Dec 2024 16:31:37 +0700 |
parents | 77eb59fd855d |
children | 34f5e00f540e |
files | semicongine/text.nim |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/semicongine/text.nim Sat Dec 14 16:30:46 2024 +0700 +++ b/semicongine/text.nim Sat Dec 14 16:31:37 2024 +0700 @@ -147,7 +147,7 @@ right = -info.leftOffset + info.dimension.x top = font.lineHeight + info.topOffset bottom = font.lineHeight + info.topOffset - info.dimension.y - glyphData.pos[i] = vec4(left, bottom, right, top) * 0.005'f32 + glyphData.pos[i] = vec4(left, bottom, right, top) * 0.01'f32 assert info.uvs[0].x == info.uvs[1].x, "Currently only axis aligned rectangles are allowed for info boxes in font texture maps" assert info.uvs[0].y == info.uvs[3].y,