summaryrefslogtreecommitdiff
path: root/src/transform_hierarchy.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-17 15:39:40 +1100
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-17 15:39:40 +1100
commitcbcd40391c445afb836217a64e0bd96bc54cb805 (patch)
treee8c3656283af96394432b61f07fb1284fec486e2 /src/transform_hierarchy.h
parent31359e468c4f1d844f19862f63ed911b66b98068 (diff)
rendering using transforms
Diffstat (limited to 'src/transform_hierarchy.h')
-rw-r--r--src/transform_hierarchy.h4
1 files changed, 2 insertions, 2 deletions
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