raytracer in C++