Sphere.copy constructor

Sphere.copy(
  1. Sphere other
)

Create a sphere as a copy of other.

Implementation

Sphere.copy(Sphere other)
    : _center = Vector3.copy(other._center),
      radius = other.radius;