Port of changes to primitives class Sphere.
Port of changes to primitives class OrientedBoundingBox.