Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit rewrites the procedure that is responsible for light updating. this commit -provides iterative solutions for unlighting and light spreading -introduces a new priority queue-like container for the iteration -creates per-node MapBlock caching to reduce retrieving MapBlocks from the map -calculates with map block positions and in-block relative node coordinates -skips light updating if it is not necessary since the node's new light will be the same as its old light was
- Loading branch information
Showing with 643 additions and 443 deletions.
Oops, something went wrong.