1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Remove dead code (#10845)

This commit is contained in:
rubenwardy 2021-01-22 15:09:26 +00:00 committed by GitHub
parent 67aa75d444
commit 4c76239818
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 8 additions and 331 deletions

View file

@ -340,15 +340,6 @@ public:
// is not valid on this MapBlock.
bool isValidPositionParent(v3s16 p);
MapNode getNodeParent(v3s16 p, bool *is_valid_position = NULL);
void setNodeParent(v3s16 p, MapNode & n);
inline void drawbox(s16 x0, s16 y0, s16 z0, s16 w, s16 h, s16 d, MapNode node)
{
for (u16 z = 0; z < d; z++)
for (u16 y = 0; y < h; y++)
for (u16 x = 0; x < w; x++)
setNode(x0 + x, y0 + y, z0 + z, node);
}
// Copies data to VoxelManipulator to getPosRelative()
void copyTo(VoxelManipulator &dst);