Odin » Forums » GLFW Bindings
6 posts

Physics, math and graphics.

#12095 GLFW Bindings
3 months, 3 weeks ago Edited by on June 30, 2017, 2:56 p.m.

I have created bindings to GLFW in Odin. You can find it here: https://github.com/vassvik/odin-glfw.

glfw.odin is currently a one-to-one translation of glfw3.h for the most part. The usage should therefore match the C API fairly well. I might add some wrappers using Odin constructs in the future.

I have included a few example programs using some simple OpenGL.

Should work in Windows, Linux and on OSX.

Edit: Updated to the latest version/commit of Odin.