summaryrefslogtreecommitdiff
path: root/src/primitives/primitives.h
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-10-27 15:31:14 -0500
committersanine-a <sanine.not@pm.me>2020-10-27 15:31:14 -0500
commitccd98d4dbdb7acde2433153a01d00a3b9bed02c0 (patch)
tree9ad033d4d6b48d9824a9c924fe23a421feff1f70 /src/primitives/primitives.h
parent50a8d3dc884816fbb1e3a3df3c401358e62b5eea (diff)
fix bug in honey.shader.new and add basic primitives bindings
Diffstat (limited to 'src/primitives/primitives.h')
-rw-r--r--src/primitives/primitives.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/primitives/primitives.h b/src/primitives/primitives.h
index fbf7753..ff4b01b 100644
--- a/src/primitives/primitives.h
+++ b/src/primitives/primitives.h
@@ -9,6 +9,9 @@
#include "../common.h"
#include "../mesh/mesh.h"
+/** @brief Push table of lua bindings for creating primitives to the stack. */
+void honey_setup_primitives(lua_State* L);
+
/** @brief Create a textured plane.
*
* This function creates a plane with vertex positions in attribute 0,