From 53b151b3fd6d4c2b953d8ed93261125577f1c123 Mon Sep 17 00:00:00 2001 From: sanine Date: Mon, 13 Mar 2023 12:29:35 -0500 Subject: cycle through all meshes --- honey/window.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'honey/window.lua') diff --git a/honey/window.lua b/honey/window.lua index 35e04ac..471d51e 100644 --- a/honey/window.lua +++ b/honey/window.lua @@ -147,6 +147,10 @@ function Window.setContentScaleCallback(self, cb) return glfw.SetContentScaleCallback(self.win, cb) end +function Window.setKeyCallback(self, cb) + return glfw.SetKeyCallback(self.win, cb) +end + function Window.swapBuffers(self) glfw.SwapBuffers(self.win) -- cgit v1.2.1