C++ compile-time ray tracer