summaryrefslogtreecommitdiff
path: root/src/mapblock_mesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapblock_mesh.h')
-rw-r--r--src/mapblock_mesh.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mapblock_mesh.h b/src/mapblock_mesh.h
index 916703f3e..25c699e1c 100644
--- a/src/mapblock_mesh.h
+++ b/src/mapblock_mesh.h
@@ -53,6 +53,12 @@ struct MeshMakeData
bool use_tangent_vertices = false);
/*
+ Copy block data manually (to allow optimizations by the caller)
+ */
+ void fillBlockDataBegin(const v3s16 &blockpos);
+ void fillBlockData(const v3s16 &block_offset, MapNode *data);
+
+ /*
Copy central data directly from block, and other data from
parent of block.
*/