- C23 Clang
- SDL3
git clone https://github.com/jspingu/threefold.git
cd threefold
make -j$(nproc)
./outBy default, vectorized function variants are built for all supported SIMD extensions on the target architecture and called through dynamic dispatch.
To build a tailored binary with static dispatch instead:
CFLAGS="-march=native" VECTORIZATION="static" make -j$(nproc)Supported extensions:
- x86: SSE2, AVX2, AVX512F
- ARM: NEON (v7), SVE
Software-rendered scene — Utah teapot (22,855 triangles), skybox, lights, phong shading, cubemap reflections, gamma correction
1920x1200@~50FPS on my X1P42100