mirror of
https://github.com/johndoe6345789/SDL3CPlusPlus.git
synced 2026-04-25 22:25:07 +00:00
f3d10330592d335d1d68bdf9a6f0fcdb85c79b11
SDL3CPlusPlus
A minimal SDL3 + Vulkan spinning cube demo.
Build
- Install SDL3 development headers and Vulkan loader on your platform.
- Configure with CMake:
cmake -B build -S . - Build the demo:
cmake --build build
Shaders are copied into build/shaders during configuration, so the demo can load the precompiled cube.{vert,frag}.spv.
Run
cmake --build build --target spinning_cube
./build/spinning_cube
Languages
C++
67.8%
C
27.7%
Python
0.8%
Lua
0.8%
Yacc
0.6%
Other
1.9%