1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 09:05:19 +02:00

better grass generation (integration to sunlight propagation algorithms)

This commit is contained in:
Perttu Ahola
2010-12-26 14:34:34 +02:00
parent c32da52104
commit 847a4227b8
3 changed files with 90 additions and 29 deletions

View File

@@ -310,7 +310,8 @@ public:
// Updates all DAYNIGHT_CACHE_COUNT meshes
void updateMeshes(s32 first_i=0);*/
#endif // !SERVER
// See comments in mapblock.cpp
bool propagateSunlight(core::map<v3s16, bool> & light_sources);
// Copies data to VoxelManipulator to getPosRelative()