summaryrefslogtreecommitdiffhomepage
path: root/src/chunk-scenery.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-09-09 14:52:07 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-09-20 16:08:47 +0200
commit1a972e7db2d4a1fbd78344c2bcb53e0b5183a15c (patch)
treecaa4f9f10604ad8f5ab7252e771e774e5282ce79 /src/chunk-scenery.cpp
parentff19c8dd4acba3a390aea358f12b2a4e9676dfb6 (diff)
w
Diffstat (limited to 'src/chunk-scenery.cpp')
-rw-r--r--src/chunk-scenery.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chunk-scenery.cpp b/src/chunk-scenery.cpp
index 4bf55312..e928abac 100644
--- a/src/chunk-scenery.cpp
+++ b/src/chunk-scenery.cpp
@@ -64,6 +64,8 @@ auto make_topo_sort_data(object& e, uint32_t mesh_idx) -> topo_sort_data
return data;
}
+// todo! switch to using a stack as in https://www.geeksforgeeks.org/topological-sorting/
+
void topo_dfs(Array<chunk::object_draw_order>& array, size_t& output, size_t i, size_t size) // NOLINT(misc-no-recursion)
{
using m = typename chunk::topo_sort_data::m;