Sphere.copy constructor Null safety
- Sphere other
Create a sphere as a copy of other
.
Implementation
Sphere.copy(Sphere other)
: _center = Vector3.copy(other._center),
radius = other.radius;
Create a sphere as a copy of other
.
Sphere.copy(Sphere other)
: _center = Vector3.copy(other._center),
radius = other.radius;