Compile on Linux
- Install clang and glfw3 with your system’s package manager.
make run to compile and run the release build.
Compile on Windows
- Install and set up clang. The sanest set of instructions I’ve found is
- Download the latest 64-bit Windows pre-compiled binary package from here.
- Unzip it and copy the
lib-vc2019 folders into
lib/glfw_windows/. The folder structure should look like this:
| +-- GLFW
| |-- glfw3.h
| +-- glfw3native.h
.\build.bat && .\out\release\transparent-cube.exe to compile and run the
WebAssembly and WebGL
Approximating Trigonometric Functions