VisibilityRegion::BoxVisible
Defined in:
Determines whether a box is visible in a region.
C4Regions.h
Prototype
bool BoxVisible(const Point3D& center, const Vector3D *axis) const;
Parameters
center |
The world-space center of the box. |
axis |
A pointer to an array containing the three semi-axis vectors of the box. |
Description
The BoxVisible
function determines whether the box specified by the center
and axis
parameters is visible inside a region. If the box 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
VisibilityRegion::SphereVisible