voxel-engine/include
EmaMaker 88abf21502 multithread: refactor update thread, communication between mesh/gen/upd threads
- 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)
2023-10-04 13:10:05 +02:00
..
.git-keep initial commit 2022-11-10 19:53:52 +01:00
OpenSimplexNoise.h initial commit 2022-11-10 19:53:52 +01:00
block.hpp Initial tree generation 2023-07-30 12:16:32 +02:00
camera.hpp camera: set atomic position at startup 2023-10-03 22:08:40 +02:00
chunk.hpp chunk: use chunk state to mark presence of chunk in thread communication queues 2023-10-04 12:57:57 +02:00
chunkgenerator.hpp initial commit 2022-11-10 19:53:52 +01:00
chunkmanager.hpp multithread: refactor update thread, communication between mesh/gen/upd threads 2023-10-04 13:10:05 +02:00
chunkmesher.hpp refactor chunk meshing routine 2023-07-19 12:56:55 +02:00
controls.hpp move input handling from main into dedicated file 2023-10-03 22:45:09 +02:00
debugwindow.hpp create debug window with imgui 2023-09-20 12:42:05 +02:00
globals.hpp chunkmgr: span chunk indices in a cube around the player, not a sphere 2023-10-03 22:45:09 +02:00
intervalmap.hpp intervalmap: use updated upper_bound when checking removal of next node 2023-04-10 00:30:28 +02:00
main.hpp move input handling from main into dedicated file 2023-10-03 22:45:09 +02:00
renderer.hpp renderer: screenshot by saving render texture to file 2023-09-20 12:37:32 +02:00
shader.hpp shader: make geometry shader not mandatory 2023-09-20 12:37:32 +02:00
spacefilling.hpp general code cleanup 2023-03-25 16:28:12 +01:00
stb_image.h initial commit 2022-11-10 19:53:52 +01:00
stb_image_write.h libs: import stb_image_write 2023-09-20 12:37:32 +02:00
utils.hpp general code cleanup 2023-03-25 16:28:12 +01:00