buq2 / raytracer-in-a-year-maybe

Following loosely https://raytracing.github.io/books/RayTracingInOneWeekend.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmake -S . -B build
cmake --build build --parallel 12

# On Windows with VCC
# ./build/src/Debug/raytracer.exe

Release build Windows

cmake --build build --parallel 12 --config Release

Docker build

docker build -t raytracer .

cppcheck

On git bash on Windows

docker run --rm -v `pwd -W`:/data frankwolf/cppcheck --verbose --enable=all --inconclusive --language=c++ --suppress=missingIncludeSystem --suppress=unusedFunction --error-exitcode=1 src

clang-format

On git bash on Windows

docker run --rm -it -v `pwd -W`:/workdir unibeautify/clang-format -i -style=Google **/{*.cpp,*.hh}

About

Following loosely https://raytracing.github.io/books/RayTracingInOneWeekend.html


Languages

Language:C++ 90.8%Language:CMake 6.5%Language:Dockerfile 2.6%