Rotate the ray by deg degrees
deg
Ray rotate(double deg) { return Ray(origin.rotate(deg), direction.rotate(deg)); }