VisibilityRegion::SphereVisible
Defined in:
Determines whether a sphere is visible in a region.
C4Regions.hPrototype
bool SphereVisible(const Point3D& center, float radius) const;
Parameters
center |
The world-space center of the sphere. |
radius |
The radius of the sphere. |
Description
The SphereVisible function determines whether the sphere specified by the center and radius parameters is visible inside a region. If the sphere falls completely on the negative side of any single plane bounding the region, then the return value is false. Otherwise, the return value is true.
See Also
VisibilityRegion::PolygonVisible
