odin-glfw

December 1, 2018 ยท View on GitHub

Odin bindings to GLFW 3.2.1 (at least)

odin-glfw contain bindings to the C library, in addition to a bunch of additional wrappers and utility functions.

NOTE: Binds to a static GLFW in windows, and shared in linux.

cd Odin/shared
git clone https://github.com/vassvik/odin-glfw.git

Usage:

GLFW is primarily used to create a window, create an opengl context, and to handle input. GLFW also works for Vulkan.

To use OpenGL functions you need an OpenGL function loader. See https://github.com/vassvik/odin-gl for one such loader.

This library is used in https://github.com/vassvik/odin-gl_font to perform simple text rendering. Take a look.

License

This library is published under a dual public domain and MIT license, inspired by Sean Barret's stb libraries.