summaryrefslogtreecommitdiff
path: root/src/voxel.h
diff options
context:
space:
mode:
authorDániel Juhász <juhdanad@gmail.com>2018-02-04 04:16:45 +0100
committerAndrew Ward <rw@rubenwardy.com>2018-02-04 03:16:45 +0000
commit735fc2a1f25eed78460c02867a4960fbf1e66a72 (patch)
tree45c25a6958309bf6b6277f5a201dc6b112a91e22 /src/voxel.h
parentcf0bcebc7620ff2a4bfb44bcbc4909ff9dbe8d24 (diff)
downloadminetest-735fc2a1f25eed78460c02867a4960fbf1e66a72.tar.gz
minetest-735fc2a1f25eed78460c02867a4960fbf1e66a72.tar.bz2
minetest-735fc2a1f25eed78460c02867a4960fbf1e66a72.zip
Remove unused light updating code
Also remove the unit test that tests the removed algorithms.
Diffstat (limited to 'src/voxel.h')
-rw-r--r--src/voxel.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/voxel.h b/src/voxel.h
index d03cecd95..4b53eb85c 100644
--- a/src/voxel.h
+++ b/src/voxel.h
@@ -471,15 +471,6 @@ public:
void clearFlag(u8 flag);
- // TODO: Move to voxelalgorithms.h
-
- void unspreadLight(enum LightBank bank, v3s16 p, u8 oldlight,
- std::set<v3s16> & light_sources, INodeDefManager *nodemgr);
-
- void spreadLight(enum LightBank bank, v3s16 p, INodeDefManager *nodemgr);
- void spreadLight(enum LightBank bank,
- std::set<v3s16> & from_nodes, INodeDefManager *nodemgr);
-
/*
Member variables
*/