set method
center
- center of the sphere.
radius
- radius of the sphere.
Sets the center
and radius
properties of
this sphere.
Please note that this method only copies the values from the given center.
Implementation
BoundingSphere set(Vector3 center, double radius) {
this.center.setFrom(center);
radius = radius;
return this;
}