diff options
author | sanine <sanine.not@pm.me> | 2023-03-13 12:29:35 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-03-13 12:29:35 -0500 |
commit | 53b151b3fd6d4c2b953d8ed93261125577f1c123 (patch) | |
tree | f8665c90f704bdb4592e1fd413a7c7372f63b108 /honey | |
parent | 89572c1648128456822cf2dda07b13e78cfc2813 (diff) |
cycle through all meshes
Diffstat (limited to 'honey')
-rw-r--r-- | honey/window.lua | 4 |
1 files changed, 4 insertions, 0 deletions
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) |