summaryrefslogtreecommitdiff
path: root/scene/2d/camera_2d.h
diff options
context:
space:
mode:
authorbob <276231002@qq.com>2019-09-04 15:03:22 +0800
committerRĂ©mi Verschelde <rverschelde@gmail.com>2019-09-26 08:47:24 +0200
commit943471dd02a94dee108e3586239d72b5baa13174 (patch)
treeeb300cd9405ceb11df6e8614cc6c3ad97bd8ceb3 /scene/2d/camera_2d.h
parent7b433107f52f822bcaac2427008d842091d37a3b (diff)
Fix TileMap world_to_map rounding issue for negative integers
The previous code would fail for negative integer values like -3.0 (would return -4 instead of -3). Fixes #31468.
Diffstat (limited to 'scene/2d/camera_2d.h')
0 files changed, 0 insertions, 0 deletions