raytracer in c++