From ccd98d4dbdb7acde2433153a01d00a3b9bed02c0 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Tue, 27 Oct 2020 15:31:14 -0500 Subject: fix bug in honey.shader.new and add basic primitives bindings --- src/primitives/primitives.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/primitives/primitives.h') 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, -- cgit v1.2.1