C4 Engine
C4 Engine API Documentation

VisibilityRegion::BoxVisible

Defined in:  C4Regions.h
Determines whether a box is visible in a region.
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::QuadVisible

VisibilityRegion::PolygonVisible

VisibilityRegion::SphereVisible

VisibilityRegion::EllipsoidVisible

VisibilityRegion::CylinderVisible