make data constructors for Sphere, Ray private