1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 08:35:20 +02:00

generate-time lighting optimization

This commit is contained in:
Perttu Ahola
2011-01-15 13:50:13 +02:00
parent 83e083a667
commit a176f9eb36
7 changed files with 300 additions and 227 deletions

View File

@@ -312,7 +312,8 @@ public:
#endif // !SERVER
// See comments in mapblock.cpp
bool propagateSunlight(core::map<v3s16, bool> & light_sources);
bool propagateSunlight(core::map<v3s16, bool> & light_sources,
bool remove_light=false, bool *black_air_left=NULL);
// Copies data to VoxelManipulator to getPosRelative()
void copyTo(VoxelManipulator &dst);