- Dear Imgui: Included as a submodule in the git tree.
- SDL2: Ensure
SDL2
binaries are available on your system. You can figure that one out yourself.
To set up the project, use the following commands:
For WebAssembly:
meson setup builddir_wasm -Dtarget=wasm
For Linux:
meson setup builddir_linux -Dtarget=linux
To compile the project, use the following commands:
For WebAssembly:
meson compile -C builddir_wasm
python -m http.server 9090 -d ./builddir_wasm
For Linux:
meson compile -C builddir_linux
./builddir_linux/raytracer