Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Increase performance of getLight() by at least 2x
Leads to the following increases: getSmoothLight() approx. 40% increase getTileInfo() approx. 25% increase MapBlockMesh::MapBlockMesh() 25-30%
- Loading branch information
Showing
with
29 additions
and 2 deletions.
- +2 −2 src/mapblock_mesh.cpp
- +6 −0 src/mapnode.cpp
- +21 −0 src/mapnode.h