magic003/LearnOpenGL_Zig
Examples in the Learn OpenGL book written in Zig.
This repo contains the code I wrote when reading the Learn OpenGL book using Zig.
The code is organized according to the parts and chapters in the book. For example, I_Getting_Started/4_1_hello_window
.
The shared libraries live in the libs
folder.
The code was tested using Zig 0.12.0-dev.1856+94c63f31f and above. It will keep up with the master version.
To run a particular sample, just go to its folder and run zig build run
.
LearnOpenGL_Zig % cd I_Getting_Started/4_1_hello_window
4_1_hello_window % zig build run
This repo depends on the following external libraries: