C4 Engine
C4 Engine API Documentation

VisibilityRegion::EllipsoidVisible

Defined in:  C4Regions.h
Determines whether an ellipsoid is visible in a region.
Prototype

bool EllipsoidVisible(const Point3D& center, const Vector3D *axis) const;

Parameters
center The world-space center of the ellipsoid.
axis A pointer to an array containing the three semi-axis vectors of the ellipsoid.
Description
The EllipsoidVisible function determines whether the sphere specified by the center and axis parameters is visible inside a region. If the ellipsoid 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::BoxVisible

VisibilityRegion::QuadVisible

VisibilityRegion::PolygonVisible

VisibilityRegion::SphereVisible

VisibilityRegion::CylinderVisible