commit | c863c1f6a1eb2aba0c017168e105025fe1fda422 | [log] [tgz] |
---|---|---|
author | Rokas Kupstys <rokups@zoho.com> | Tue Oct 29 17:04:13 2019 +0100 |
committer | omar <omarcornut@gmail.com> | Tue Oct 29 17:05:25 2019 +0100 |
tree | 56d06d0c71f18e03d3fc0081efd5a1870b31b220 | |
parent | 0b2d35f63fb0e6dd4f541e40430dbf762a2466ed [diff] |
Clean up number rounding. Now it is more obvious what code is doing. (#2862) Add IM_ROUND() macro Replace IM_FLOOR(n + 0.5f) and ImFloor(n + 0.5f) with IM_ROUND(n)