From bafde6416401672cc7838f02af504561d34681fb Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 19 Oct 2022 06:25:39 +0200 Subject: a --- src/camera-offset.cpp | 2 -- src/camera-offset.hpp | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/camera-offset.cpp b/src/camera-offset.cpp index 0f90768b..f58c269c 100644 --- a/src/camera-offset.cpp +++ b/src/camera-offset.cpp @@ -1,8 +1,6 @@ #include "camera-offset.hpp" #include "tile-defs.hpp" #include "shaders/tile-shader.hpp" -#include "compat/assert.hpp" -#include namespace floormat { diff --git a/src/camera-offset.hpp b/src/camera-offset.hpp index 07b9f398..0a44ee30 100644 --- a/src/camera-offset.hpp +++ b/src/camera-offset.hpp @@ -1,4 +1,5 @@ #pragma once +#include "global-coords.hpp" #include #include @@ -9,6 +10,7 @@ struct tile_shader; struct with_shifted_camera_offset final { explicit with_shifted_camera_offset(tile_shader& shader, short x, short y); + explicit with_shifted_camera_offset(tile_shader& shader, chunk_coords c) : with_shifted_camera_offset(shader, c.x, c.y) {} ~with_shifted_camera_offset(); private: tile_shader& _shader; // NOLINT -- cgit v1.2.3