diff options
author | the 8th mage <eee34353@gmail.com> | 2018-09-29 16:52:35 +0300 |
---|---|---|
committer | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-10-04 13:19:55 +0200 |
commit | f7a98664178b9389b55df209506f02f32d755441 (patch) | |
tree | b90bba42e7f4366072fab497f3476d6d9dcd5723 /thirdparty/misc/pcg.h | |
parent | 156c4eab022a52ff2415cd4b2dd3a3b2034c18d1 (diff) |
Fix TileMap editor drawing
the tile cursor did not follow the mouse cursor, and the tile grid was displayed wrong,
because the forward_canvas_draw_over_viewport function used the wrong xform and thus its
map_to_world is not the inverse of the mouse interactor world_to_map, making the tiles
draw from 0,0 of the screen instead of 0,0 of the tile map (which is in a different place)
Diffstat (limited to 'thirdparty/misc/pcg.h')
0 files changed, 0 insertions, 0 deletions