/opengl-examples

OpenGL examples with C3

Apache License 2.0Apache-2.0

C3 and OpenGL examples

How to run

Install C3 lang and glfw library

glfw on debian linux sudo apt-get install libglfw3-dev

Then you can run examples with

c3c run cube

c3c run texture

c3c run triangle

c3c run gltf

OpenGL 4.3 is required to run all examples, MacOS unfortunately only supports 4.1.

Should work on Windows, but haven't tested the library bindings.

The OpenGL binding generator repository is here