summaryrefslogtreecommitdiff
path: root/src/mesh/mesh.h
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-10-27 14:39:29 -0500
committersanine-a <sanine.not@pm.me>2020-10-27 14:39:29 -0500
commitfc16337c080db7013791bf25ace538546d2779dc (patch)
tree49550ddf171eb94ab54a1181b7b2bb8f58a49472 /src/mesh/mesh.h
parent3ef1112d085a101aa55d11ff894f1fb515d29c27 (diff)
add honey.mesh bindings to the honey_setup()
Diffstat (limited to 'src/mesh/mesh.h')
-rw-r--r--src/mesh/mesh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesh/mesh.h b/src/mesh/mesh.h
index a82db52..1f3bc3e 100644
--- a/src/mesh/mesh.h
+++ b/src/mesh/mesh.h
@@ -16,6 +16,9 @@ typedef struct {
unsigned int vertex_array, vertex_buffer, element_buffer;
} honey_mesh;
+/** @brief Push the mesh bindings to the lua stack. */
+void honey_setup_mesh();
+
/** @brief Create a new mesh from vertex and index arrays.
*
* This function copies the data, so you can safely permit vertices and