summaryrefslogtreecommitdiffhomepage
path: root/src/camera-offset.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-04-12 00:08:56 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-04-12 00:08:56 +0200
commit903e1644fce5652a621803a6eb3617d605d22434 (patch)
treece088b04f92ffc8bdb5e6c1d31e3981e20a5b2bb /src/camera-offset.cpp
parent993d828c3c2cdab6174e460c39a605dbd31d192c (diff)
wip
Diffstat (limited to 'src/camera-offset.cpp')
-rw-r--r--src/camera-offset.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/camera-offset.cpp b/src/camera-offset.cpp
index e8c80861..0aab5ea1 100644
--- a/src/camera-offset.cpp
+++ b/src/camera-offset.cpp
@@ -19,6 +19,8 @@ with_shifted_camera_offset::with_shifted_camera_offset(tile_shader& shader, chun
const int z = c.z - chunk_z_min;
depth_offset += tile_shader::depth_value(local_coords{z, z});
+ // wip
+
if (c.z == chunk_z_max)
depth_offset = 1;