OpenGL library for LuaJIT using FFI
- Download the source via git
- Put luajit.exe, lua51.dll, glfw.dll, and stb_image.dll in the directory
- Load the library via requiring it:
local lujgl = require "lujgl"
- Call lujgl.initialize(windowname, w, h) to create the window
- Pass LuJGL.setIdleCallback/setRenderCallback/setEventCallback the appropriate functions
- Call lujgl.mainLoop() to start the main loop