- Dear Imgui: Included as a submodule in the git tree.
- SDL2: Ensure
SDL2binaries 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=wasmFor Linux:
meson setup builddir_linux -Dtarget=linuxTo compile the project, use the following commands:
For WebAssembly:
meson compile -C builddir_wasm
python -m http.server 9090 -d ./builddir_wasmFor Linux:
meson compile -C builddir_linux
./builddir_linux/raytracer