summaryrefslogtreecommitdiffhomepage
path: root/parser/output/raylib_api.lua
diff options
context:
space:
mode:
authorDan Bechard <[email protected]>2022-08-13 05:18:57 -0400
committerGitHub <[email protected]>2022-08-13 11:18:57 +0200
commit56072a631dbcde21c4b65917c1ce97262d064a5a (patch)
treee2cedcf9bf4ebe3c284dc1bc8c912f970086bad9 /parser/output/raylib_api.lua
parentf2fbdd1999f88ffcfa195a541b87860fdc9e2bf1 (diff)
downloadraylib-56072a631dbcde21c4b65917c1ce97262d064a5a.tar.gz
raylib-56072a631dbcde21c4b65917c1ce97262d064a5a.zip
Fix Codepoint position truncation (#2636)
This truncation causes text that spans the zero coord boundary to round differently left or zero vs. right of zero, in turn causing letters to appear squished together. If you actually need the position to be an integer, you should instead `floorf()` the float, rather than doing an integer truncation, but I don't see any reason to convert it to an integer in the first place. Everything else in the equation is a float.
Diffstat (limited to 'parser/output/raylib_api.lua')
0 files changed, 0 insertions, 0 deletions