linearly v0.32.0Docs


linearly v0.32.0 / mat4 / frustum

Function: frustum()

frustum(left, right, bottom, top, near, far): number[]

Generates a frustum matrix with the given bounds

Parameters

left: number

Left bound of the frustum

right: number

Right bound of the frustum

bottom: number

Bottom bound of the frustum

top: number

Top bound of the frustum

near: number

Near bound of the frustum

far: number

Far bound of the frustum

Returns

number[]

Defined in

src/mat4.ts:1061open in new window