OcclusionRegion::SphereOccluded
Defined in:
Determines whether a sphere is occluded in a region.
C4Regions.h
Prototype
bool SphereOccluded(const Point3D& center, float radius) const;
Parameters
center |
The world-space center of the sphere. |
radius |
The radius of the sphere. |
Description
The SphereOccluded
function determines whether the sphere specified by the center
and radius
parameters is occluded by a region. If the sphere falls completely on the positive side of all the planes bounding the region, then the return value is true
. Otherwise, the return value is false
.
See Also
OcclusionRegion::PolygonOccluded