# sofa - opengl reference code for software rendering ## Building ```sh make baselayout # or mkdir -p {obj,bin} make engine # make run ``` ## Code All code is c99 and compiles with `-Wall -Wextra -Werrror -pedantic`; feel free to use this as a reference for rendering/shaders/makefile/pkgconfig snippets ## platforms Tested under Darwin (`Darwin chives.local 25.6.0 Darwin Kernel Version 25.6.0: Fri Jul 31 19:11:03 PDT 2026; root:xnu-12377.161.14~5/RELEASE_ARM64_T8132 arm64`). The provided OpenGL is hopefully portable on any POSIX C99 compiler.