26 _center(center), _radius(radius)
29 nassertd(!_center.is_nan() && !cnan(_radius)) {
37 INLINE_MATHUTIL LPoint3 BoundingSphere::
46 INLINE_MATHUTIL PN_stdfloat BoundingSphere::
58 nassertv(!center.is_nan());
67 nassertv(!cnan(radius));
bool is_empty() const
Any kind of volume might be empty.
bool is_infinite() const
The other side of the empty coin is an infinite volume.
set_center
Sets the center point of the sphere.
BoundingSphere()
Constructs an empty sphere.
set_radius
Sets the radius of the sphere.