summaryrefslogtreecommitdiffhomepage
path: root/editor/camera.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-24 12:05:40 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-24 12:05:40 +0200
commit5385be91cf40b9e610f3c7c9488023b925b563e1 (patch)
tree0ab01c932e1a80ad002d4e109ed448aa28663d20 /editor/camera.cpp
parent2b5e90cfb9c256ae26d9a970a7ff24c9dc0c2bf1 (diff)
a
Diffstat (limited to 'editor/camera.cpp')
-rw-r--r--editor/camera.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/camera.cpp b/editor/camera.cpp
index ecbeafc1..b19acdd5 100644
--- a/editor/camera.cpp
+++ b/editor/camera.cpp
@@ -37,6 +37,7 @@ void app::do_camera(float dt)
//camera_offset[0] = std::clamp(camera_offset[0], -max_camera_offset[0], max_camera_offset[0]);
//camera_offset[1] = std::clamp(camera_offset[1], -max_camera_offset[1], max_camera_offset[1]);
+ Debug{} << "camera" << camera_offset;
shader.set_camera_offset(camera_offset);
}
else