Ray tracer in C++11