summaryrefslogtreecommitdiff
path: root/src/import/import.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/import.c')
-rw-r--r--src/import/import.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/import/import.c b/src/import/import.c
new file mode 100644
index 0000000..cc22616
--- /dev/null
+++ b/src/import/import.c
@@ -0,0 +1,14 @@
+#include <lua.h>
+#include <honeysuckle.h>
+#include <assimp/scene.h>
+#include "import.h"
+
+
+void push_vector(lua_State *L, struct aiVector3D vec)
+{
+ hs_create_table(L,
+ hs_str_num("x", vec.x),
+ hs_str_num("y", vec.y),
+ hs_str_num("z", vec.z),
+ );
+}