diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-09-09 14:52:07 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-09-20 16:08:47 +0200 |
| commit | 1a972e7db2d4a1fbd78344c2bcb53e0b5183a15c (patch) | |
| tree | caa4f9f10604ad8f5ab7252e771e774e5282ce79 /src/chunk-scenery.cpp | |
| parent | ff19c8dd4acba3a390aea358f12b2a4e9676dfb6 (diff) | |
w
Diffstat (limited to 'src/chunk-scenery.cpp')
| -rw-r--r-- | src/chunk-scenery.cpp | 2 |
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; |
