1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Implement mapblock camera offset correctly (#10702)

Implement mapblock camera offset correctly - reduce client jitter

Co-authored-by: hecktest <>
This commit is contained in:
hecks 2020-12-06 00:03:40 +01:00 committed by GitHub
parent 07e0b527cf
commit 6d7067fd37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 63 additions and 74 deletions

View file

@ -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;
};
/*!