From d444d1c98fdefea6cf0aff50eb9b58d4dbcea6ed Mon Sep 17 00:00:00 2001 From: sanine Date: Fri, 16 Sep 2022 00:55:53 -0500 Subject: begin assimp bindings --- src/import/import.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/import/import.c (limited to 'src/import/import.c') 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 +#include +#include +#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), + ); +} -- cgit v1.2.1