aboutsummaryrefslogtreecommitdiff
path: root/src/client/mapblock_mesh.h
diff options
context:
space:
mode:
authorhecks <42101236+hecktest@users.noreply.github.com>2020-12-06 00:03:40 +0100
committerGitHub <noreply@github.com>2020-12-05 15:03:40 -0800
commit6d7067fd37a8084aca139ecab552982e0ee99582 (patch)
tree415c1659d452873b575703beed9001c3bc00cf08 /src/client/mapblock_mesh.h
parent07e0b527cf3e6e4f1bf36823940216efef59d8c9 (diff)
downloadminetest-6d7067fd37a8084aca139ecab552982e0ee99582.tar.gz
minetest-6d7067fd37a8084aca139ecab552982e0ee99582.tar.bz2
minetest-6d7067fd37a8084aca139ecab552982e0ee99582.zip
Implement mapblock camera offset correctly (#10702)
Implement mapblock camera offset correctly - reduce client jitter Co-authored-by: hecktest <>
Diffstat (limited to 'src/client/mapblock_mesh.h')
-rw-r--r--src/client/mapblock_mesh.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/mapblock_mesh.h b/src/client/mapblock_mesh.h
index 6a9c00ed5..0308b8161 100644
--- a/src/client/mapblock_mesh.h
+++ b/src/client/mapblock_mesh.h
@@ -160,9 +160,6 @@ private:
// of sunlit vertices
// Keys are pairs of (mesh index, buffer index in the mesh)
std::map<std::pair<u8, u32>, std::map<u32, video::SColor > > m_daynight_diffs;
-
- // Camera offset info -> do we have to translate the mesh?
- v3s16 m_camera_offset;
};
/*!