This is just a simple project for testing a little bit of ray casting with SDL2.
You will need the SDL2 and SDL2_image libraries in your system. You can use zig (0.11.0) to build the project.
To build the executable with zig, just use zig build
, the main
executable with be available at zig-out/bin/main
.
You can also run the project with zig build run
.
If you build this program using nix,
you may have to use nixGL
to run the executable:
nixGL zig build run
# or
nixGL ./zig-out/bin/main