diff options
Diffstat (limited to 'src/client/mapblock_mesh.h')
-rw-r--r-- | src/client/mapblock_mesh.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/mapblock_mesh.h b/src/client/mapblock_mesh.h index f22dd68bd..7f6185c3a 100644 --- a/src/client/mapblock_mesh.h +++ b/src/client/mapblock_mesh.h @@ -340,3 +340,8 @@ void final_color_blend(video::SColor *result, // TileFrame vector copy cost very much to client void getNodeTileN(MapNode mn, const v3s16 &p, u8 tileindex, MeshMakeData *data, TileSpec &tile); void getNodeTile(MapNode mn, const v3s16 &p, const v3s16 &dir, MeshMakeData *data, TileSpec &tile); + +/// Return bitset of the sides of the mapblock that consist of solid nodes only +/// Bits: +/// 0 0 -Z +Z -X +X -Y +Y +u8 get_solid_sides(MeshMakeData *data); |