diff options
author | sanine-a <sanine.not@pm.me> | 2020-12-02 01:42:21 -0600 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-12-02 01:42:21 -0600 |
commit | f417d2b047369cac234c471ef37ab8281181d69f (patch) | |
tree | 3b21174fc4efcd5643b1f4d1e8a202020f85cede /src/scene_tree.h | |
parent | be49795636e5a9ede3742d077701f48e9316e121 (diff) |
create basic scene tree node
Diffstat (limited to 'src/scene_tree.h')
-rw-r--r-- | src/scene_tree.h | 23 |
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); + + |