summaryrefslogtreecommitdiff
path: root/src/transform_hierarchy.h
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-17 14:59:35 +1100
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-17 14:59:35 +1100
commit1afe4876cb8133c5b47fdcfeb07decc5565c4844 (patch)
tree23c945a7b9f4cdef1cc74879548856a21a437313 /src/transform_hierarchy.h
parenta466cc429d8017eb0ee22237f5683cc75791fe85 (diff)
wip: transform propagation
Diffstat (limited to 'src/transform_hierarchy.h')
-rw-r--r--src/transform_hierarchy.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/transform_hierarchy.h b/src/transform_hierarchy.h
index 703baa8..9af8a97 100644
--- a/src/transform_hierarchy.h
+++ b/src/transform_hierarchy.h
@@ -58,8 +58,10 @@ void transform_hierarchy_delete_node(transform_node* node);
* @param ctx_data An optional pointer to data that is be passed on each call to `visit_node`. Can be used to carry additional information or context.
*
* @note The main use-cases are:
- 1. traversing the whole tree to update cached 4x4 affine transform matrices (pre-order)
+ 1. traversing the whole tree to update cached 4x4 affine transform matrices (post-order)
2. freeing child nodes after deleting a node in the tree (post-order)
3. debug pretty printing the whole tree (post-order)
*/
-void transform_hierarchy_dfs(transform_node* start_node, bool (*visit_node)(transform_node* node, void* ctx_data), bool is_pre_order, void* ctx_data); \ No newline at end of file
+void transform_hierarchy_dfs(transform_node* start_node, bool (*visit_node)(transform_node* node, void* ctx_data), bool is_pre_order, void* ctx_data);
+
+void transform_hierarchy_debug_print(transform_node* start_node, ) \ No newline at end of file