88abf21502
- Use parallel_for to iterate over all the stored chunks - Only push a chunk to a queue if it is not already present, using chunk state bitfield (solves memory leak, continously adding new elements to a queue) - Properly delete an element from chunks concurrent_hash_map using accessor, then free the memory (solves memory leak: not being able to delete old elements and always adding new ones) Breaks: - Rendering (will be properly refactored in a future commit) - Block picking (will be refactored in a future commit) |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
OpenSimplexNoise.cpp | ||
chunk.cpp | ||
chunkgenerator.cpp | ||
chunkmanager.cpp | ||
chunkmesher.cpp | ||
controls.cpp | ||
debugwindow.cpp | ||
main.cpp | ||
renderer.cpp | ||
spacefilling.cpp | ||
stb_image.cpp | ||
utils.cpp |