summaryrefslogtreecommitdiff
path: root/src/mesh/mesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/mesh.h')
-rw-r--r--src/mesh/mesh.h8
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,