1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Update Mapgen VoxelManipulator on buffer invalidation

This commit is contained in:
kwolekr 2014-09-01 14:20:31 -04:00
parent 3fa4f782d9
commit 9e4e7072da
6 changed files with 75 additions and 10 deletions

View file

@ -2099,6 +2099,8 @@ methods:
^ To be used only by a VoxelManip object from minetest.get_mapgen_object
^ (p1, p2) is the area in which lighting is set; defaults to the whole area if left out
- update_liquids(): Update liquid flow
- was_modified(): Returns true or false if the data in the voxel manipulator had been modified since
the last read from map, due to a call to minetest.set_data() on the loaded area elsewhere
VoxelArea: A helper class for voxel areas
- Can be created via VoxelArea:new{MinEdge=pmin, MaxEdge=pmax}