Made raytracing.cpp work with a Scene object