computeCullingVolume

Creates a culling volume for this frustum.

// Check if a bounding volume intersects the frustum.
const cullingVolume = frustum.computeCullingVolume(cameraPosition, cameraDirection, cameraUp);
const intersect = cullingVolume.computeVisibility(boundingVolume);

Return

A culling volume at the given position and orientation.

Parameters

position

The eye position.

direction

The view direction.

up

The up direction.

See also