mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02: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:
@@ -217,7 +217,7 @@ struct MapNode
|
||||
* @pre f != NULL
|
||||
* @pre f->param_type == CPT_LIGHT
|
||||
*/
|
||||
u8 getLightNoChecks(LightBank bank, const ContentFeatures *f);
|
||||
u8 getLightNoChecks(LightBank bank, const ContentFeatures *f) const;
|
||||
|
||||
bool getLightBanks(u8 &lightday, u8 &lightnight, INodeDefManager *nodemgr) const;
|
||||
|
||||
|
Reference in New Issue
Block a user