Function Kataglyphis::isVisible

Function Kataglyphis::isVisible#

Function Documentation#

bool Kataglyphis::isVisible(const FrustumPlanes &planes, const AABB &boxWorldSpace)#

Conservative visibility test: false only when the box is provably entirely outside the frustum.

False positives are fine and expected (a box straddling two planes’ outside half-spaces can be reported visible); false NEGATIVES are not, because they delete geometry the camera can see. The test therefore uses the p-vertex (“positive vertex”) formulation, which never rejects a box that touches the volume.