Skip to content

zig-community/hello-triangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello Triangle (OpenGL)

Opens a window and draws a nice little triangle with OpenGL 3.3.

Screenshot

Building

Checkout all submodules, then use zig to build the example.

git clone https://github.com/zig-community/hello-triangle --recursive
cd hello-triangle
zig build run                           # builds the example and runs it

Dependencies

This project depends on the awesome Zig Window Library (ZWL) by @Aransentin.

Supported Platforms

Right now, ZWL only supports Linux and Windows. No support for MacOS at the moment.

Releases

No releases published