]> git.lizzy.rs Git - minetest.git/commit
Generalize mesh chunking, and make it configurable. (#13179)
authorlhofhansl <larsh@apache.org>
Wed, 8 Feb 2023 21:42:12 +0000 (13:42 -0800)
committerGitHub <noreply@github.com>
Wed, 8 Feb 2023 21:42:12 +0000 (13:42 -0800)
commitd3a6ee00e63cc0a4adcaa7598ad5614f1e419515
treeab82ef6f25fe7f314c0065334f7c9c4d56f65426
parent56d2567b5dcf9556cef8352032cede48a5610801
Generalize mesh chunking, and make it configurable. (#13179)

* Generalize mesh chunking. Set 3x3x3 chunks.

* Make mesh chunk size configurable... Default to 1 (off).

* Extract all mesh grid maths into a dedicated class

---------

Co-authored-by: x2048 <codeforsmile@gmail.com>
builtin/settingtypes.txt
src/client/client.cpp
src/client/client.h
src/client/clientmap.cpp
src/client/mapblock_mesh.cpp
src/client/mapblock_mesh.h
src/client/mesh_generator_thread.cpp
src/defaultsettings.cpp
src/util/directiontables.cpp
src/util/directiontables.h
src/util/numeric.h