summaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/main.lua b/main.lua
new file mode 100644
index 0000000..991e8d1
--- /dev/null
+++ b/main.lua
@@ -0,0 +1,10 @@
+require 'honey.std'
+
+
+honey.glfw.Init()
+local window = honey.Window(640, 480, "geometry")
+
+while not window:shouldClose() do
+ print(window:getSize())
+ honey.glfw.PollEvents()
+end