This is an attempt to write a renderer using ray tracing from scratch using the logic described in the book Ray tracing in one weekend by Peter Shirley.
To compile, run
g++ cpu.cpp ray.cpp vec3.cpp -lpthread -o cpu
To run the code,
./cpu > c1.ppm