A raytracer in C++