A ray tracer in C++