Sphere.centerRadius constructor

Sphere.centerRadius(Vector3 center, double radius)

Create a sphere from a center and a radius.

Implementation

Sphere.centerRadius(Vector3 center, double radius)
    : _center = new Vector3.copy(center),
      _radius = radius;