diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-22 03:19:29 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-22 03:19:29 +0100 |
commit | 0fa4a8542bf9eda8bd9c28da199b3e90e04279b9 (patch) | |
tree | 8a91894a3b9eebdb8a7ef3c4b3e94d169efcf8ea /src/camera-offset.cpp | |
parent | 966ac722d72c8d89e621987090b19f2bde0cb58c (diff) |
wip
Diffstat (limited to 'src/camera-offset.cpp')
-rw-r--r-- | src/camera-offset.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/camera-offset.cpp b/src/camera-offset.cpp index b132cdab..335a9b65 100644 --- a/src/camera-offset.cpp +++ b/src/camera-offset.cpp @@ -11,7 +11,7 @@ with_shifted_camera_offset::with_shifted_camera_offset(tile_shader& shader, shor _offset{shader.camera_offset()} { constexpr auto chunk_size = TILE_MAX_DIM20d*dTILE_SIZE; - const auto offset = _offset + tile_shader::project(Vector3d(x, y, 0) * chunk_size); + const auto offset = _offset + tile_shader::project(Vector3d(x, y, 0) * chunk_size); _shader.set_camera_offset(offset); } |