Frustum

constructor()

Constructs a new unit frustum with each of its planes 1 meter from the center and a viewport with width and height both 1.


constructor(left: Plane, right: Plane, bottom: Plane, top: Plane, near: Plane, far: Plane, viewport: Viewport)

Constructs a frustum from planes.

Parameters

left

the frustum's left plane

right

the frustum's right plane

bottom

the frustum's bottom plane

top

the frustum's top plane

near

the frustum's near plane

far

the frustum's far plane

viewport

the frustum's viewport