diff options
author | gregorycu <gregory.currie@gmail.com> | 2015-02-23 23:20:06 +1000 |
---|---|---|
committer | Craig Robbins <kde.psych@gmail.com> | 2015-02-23 23:20:31 +1000 |
commit | 577701cabd6382bb97dc05e9c9244b5ce8202ca3 (patch) | |
tree | db20283fff1b8563fe4c5f11f16ddbe30702b0d1 /src/mapnode.h | |
parent | 3b6480c5b0c968ad9f5a7cfb7ca494989be03629 (diff) | |
download | minetest-577701cabd6382bb97dc05e9c9244b5ce8202ca3.tar.gz minetest-577701cabd6382bb97dc05e9c9244b5ce8202ca3.tar.bz2 minetest-577701cabd6382bb97dc05e9c9244b5ce8202ca3.zip |
Optimise MapBlockMesh related functions
Directely or indirectly optimises the following functions:
* MapBlockMesh::MapBlockMesh
* MapBlockMesh::getTileInfo
* MapBlockMesh::makeFastFace
* MapBlockMesh::getSmoothLightCombined
Diffstat (limited to 'src/mapnode.h')
-rw-r--r-- | src/mapnode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapnode.h b/src/mapnode.h index b7d9f3acd..7cc25c60c 100644 --- a/src/mapnode.h +++ b/src/mapnode.h @@ -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; |