simple c++ raytracer