Windowing library: mach/glfw - Ziggified GLFW bindings by slimsag (Stephen Gutekanst).
OpenGL bindings for Zig were generated by the zig-opengl project by MasterQ32 (Felix Queißner).
zstbi - stb image bindings, zmath - SIMD math library, provided by Michal Ziulek, part of the zig-gamedev project.
Sample programs can be used together with the reference book: Learn OpenGL - Graphics Programming by Joey de Vries.
Zig Language installation How-to instructions.
zig build hello_triangle-run
zig build hello_rectangle-run
shaders: Little programs that rest on the GPU
zig build shaders-run
Shader struct mirrors the C++ Shader Class in the book.
zig build textures-run
zig build transformations-run
zig build coordinate_systems-run
Camera rotation: Camera rotation around world origin
zig build camera_rotate-run
Simple camera: Fly-like camera
zig build simple_camera-run
zig build basic_lighting-run