diff options
author | Daniel Ting <danielzting@gmail.com> | 2020-07-15 15:56:00 -0500 |
---|---|---|
committer | Daniel Ting <danielzting@gmail.com> | 2020-07-16 12:24:57 -0500 |
commit | 04ea6ec88dac45679458f8752ddc4c2ae285e103 (patch) | |
tree | 1b99e9e59210c44a2398b14fc8bab7bf4fb8197e /thirdparty/misc/smaz.h | |
parent | 9e34ba48556b71f1f672b5be47d12b0e3f679b86 (diff) |
Evenly distribute stretched Nodes in BoxContainer
Add any leftover fractional pixels to an error accumulator. When the
accumulator is greater or equal to one, add one pixel to the current
Node's size and subtract one from the accumulator.
Closes #36522
Diffstat (limited to 'thirdparty/misc/smaz.h')
0 files changed, 0 insertions, 0 deletions