diff options
author | sanine-a <sanine.not@pm.me> | 2020-10-27 20:58:46 -0500 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-10-27 20:58:46 -0500 |
commit | c3698446644365283fcd3d3f47f3eea67cad8331 (patch) | |
tree | 4ad91fc176600f21a0bc298012635178a75d92d9 /src/mesh/mesh.h | |
parent | 7dcdcc6824a515417d0e663277acf0a6b2cd1747 (diff) |
fix bug with working directory and add Vector and Matrix wrappers
Diffstat (limited to 'src/mesh/mesh.h')
-rw-r--r-- | src/mesh/mesh.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesh/mesh.h b/src/mesh/mesh.h index 81bcc94..0f9c1a3 100644 --- a/src/mesh/mesh.h +++ b/src/mesh/mesh.h @@ -16,6 +16,14 @@ typedef struct { /** @brief Lua bindings for mesh drawing and deletion functions. */ void honey_setup_mesh(lua_State* L); +/** @brief Load all meshes from a file. + * + * @param[in] filename The name of the file to load from. + * + * @returns A table containing all of the meshes. + */ +int honey_mesh_load(lua_State* L); + /** @brief Create a new mesh from vertex and index arrays. * * Note that this function creates copies of the vertex and index arrays, |