updated raytracer.cpp

is it a bug or is it a feature?