Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray Tracer Challenge

A test-driven implementation of a 3D ray tracer in C++.

Building

This project uses CMake for building. You'll need:

  • CMake 3.10 or higher
  • A C++17 compatible compiler
  • Catch2 (header-only testing framework)

Setting up Catch2

Catch2 is a header-only testing framework. You can either:

  1. 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
  2. Or use CMake FetchContent: The CMakeLists.txt can be updated to automatically download Catch2.

Building the project

mkdir build
cd build
cmake ..
make

Running tests

cd build
./tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages