Skip to content

vassvik/odin-glfw

Repository files navigation

odin-glfw

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.

NOTE: It is recommended to put this into the shared collection:

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

NOTE: Run build_glfw.bat in windows to build the lib. Requires Git and CMake to clone the GLFW repo and build it. In linux you can likely get your distro's glfw3 package and it will link just fine.

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.

About

No description, website, or topics provided.

Resources

License

Unknown, Zlib licenses found

Licenses found

Unknown
LICENSE
Zlib
LICENSE_GLFW.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published