mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Optimise MapBlockMesh related functions
Directely or indirectly optimises the following functions: * MapBlockMesh::MapBlockMesh * MapBlockMesh::getTileInfo * MapBlockMesh::makeFastFace * MapBlockMesh::getSmoothLightCombined
This commit is contained in:
parent
3b6480c5b0
commit
577701cabd
5 changed files with 35 additions and 12 deletions
|
@ -621,6 +621,8 @@ void VoxelManipulator::spreadLight(enum LightBank bank,
|
|||
}
|
||||
#endif
|
||||
|
||||
const MapNode VoxelManipulator::ContentIgnoreNode = MapNode(CONTENT_IGNORE);
|
||||
|
||||
#if 1
|
||||
/*
|
||||
Lights neighbors of from_nodes, collects all them and then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue