From cbcd40391c445afb836217a64e0bd96bc54cb805 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 17 Mar 2024 15:39:40 +1100 Subject: rendering using transforms --- src/transform_hierarchy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/transform_hierarchy.h') diff --git a/src/transform_hierarchy.h b/src/transform_hierarchy.h index 61989f1..9598fe9 100644 --- a/src/transform_hierarchy.h +++ b/src/transform_hierarchy.h @@ -45,7 +45,7 @@ void transform_hierarchy_propagate_transforms(transform_hierarchy* tfh); transform_node* transform_hierarchy_root_node(transform_hierarchy* tfh); // --- Mutations -void transform_hierarchy_add_node(transform_node* parent, model_handle model, transform tf); +transform_node* transform_hierarchy_add_node(transform_node* parent, model_handle model, transform tf); void transform_hierarchy_delete_node(transform_node* node); // --- Traversal @@ -65,4 +65,4 @@ void transform_hierarchy_delete_node(transform_node* node); void transform_hierarchy_dfs(transform_node* start_node, bool (*visit_node)(transform_node* node, void* ctx_data), bool is_pre_order, void* ctx_data); struct core; -void transform_hierarchy_debug_print(transform_node* start_nod, struct core* core); \ No newline at end of file +void transform_hierarchy_debug_print(transform_node* start_node, struct core* core); \ No newline at end of file -- cgit v1.2.3-70-g09d2