A test-driven implementation of a 3D ray tracer in C++.
This project uses CMake for building. You'll need:
- CMake 3.10 or higher
- A C++17 compatible compiler
- Catch2 (header-only testing framework)
Catch2 is a header-only testing framework. You can either:
-
Download Catch2 manually:
mkdir -p tests cd tests curl -L https://github.com/catchorg/Catch2/releases/download/v3.5.0/catch.hpp -o catch2/catch.hpp -
Or use CMake FetchContent: The CMakeLists.txt can be updated to automatically download Catch2.
mkdir build
cd build
cmake ..
makecd build
./tests