diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-04 20:04:22 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-04 20:04:22 +0200 |
commit | 90a08348862c17488a751f8d8f6a15af218edf95 (patch) | |
tree | c7294de3c6a337b49f6102199de354748738f62b /main.cpp | |
parent | 7493b452de349f26617171d7e90ecec6c73e0919 (diff) |
a
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -213,8 +213,8 @@ void app::do_camera(float dt) void app::reset_camera_offset() { - //camera_offset = _shader.project({TILE_MAX_DIM*TILE_SIZE[0]/2.f, TILE_MAX_DIM*TILE_SIZE[1]/2.f, 0}); - camera_offset = {}; + camera_offset = _shader.project({TILE_MAX_DIM*TILE_SIZE[0]/2.f, TILE_MAX_DIM*TILE_SIZE[1]/2.f, 0}); + //camera_offset = {}; } void app::update(float dt) |