computeFrustumContainment Method
Compute to what degree a Frustum is contained with these frustum planes.
computeFrustumContainment(box: Frustum, sphere?: BoundingSphere): FrustumPlanes.Containment
Parameter | Type | Description |
---|---|---|
box | Frustum | The frustum to test for containment. |
sphere | BoundingSphere | An optional spherical bounding volume fully containing box . If supplied, this can reduce the amount of computation required. |
Returns - FrustumPlanes.Containment
the degree to which box
is contained within the clipping planes.
Defined in
Last Updated: 30 November, 2023