summaryrefslogtreecommitdiff
path: root/src/scene_tree.h
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-12-02 01:42:21 -0600
committersanine-a <sanine.not@pm.me>2020-12-02 01:42:21 -0600
commitf417d2b047369cac234c471ef37ab8281181d69f (patch)
tree3b21174fc4efcd5643b1f4d1e8a202020f85cede /src/scene_tree.h
parentbe49795636e5a9ede3742d077701f48e9316e121 (diff)
create basic scene tree node
Diffstat (limited to 'src/scene_tree.h')
-rw-r--r--src/scene_tree.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/scene_tree.h b/src/scene_tree.h
new file mode 100644
index 0000000..ea1e37b
--- /dev/null
+++ b/src/scene_tree.h
@@ -0,0 +1,23 @@
+#include "common.h"
+
+/* @file Defines the basic scene tree nodes and functions to manipulate them. */
+
+extern int honey_node_mt_ref;
+
+void honey_setup_scene_tree(lua_State* L);
+
+int honey_node_new(lua_State* L);
+
+int honey_node_update_transform(lua_State* L);
+
+int honey_node_update_cascade(lua_State* L);
+
+int honey_node_draw_cascade(lua_State* L);
+
+int honey_node_translate(lua_State* L);
+
+int honey_node_rotate(lua_State* L);
+
+int honey_node_scale(lua_State* L);
+
+