#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), ); } void push_face(lua_State *L, struct aiFace face) { lua_createtable(L, face.mNumIndices, 0); int tbl = lua_gettop(L); for (int i=0; i