Class

Frustum

Frustum()

Frustum

Constructor

new Frustum()

Constructor

View Source Math/Frustum.js, line 8

Members

Array.<Plane>

planes

Planes defining the frustum

View Source Math/Frustum.js, line 18

Methods

containsBox(box) → {boolean}

Check if the given box is contains inside the frustum
Parameters:
Name Type Description
box Box A Box instance

View Source Math/Frustum.js, line 52

True if box is contained
boolean

fromMatrix(matrix)

Apply a transformation matrix to the frustum
Parameters:
Name Type Description
matrix glMatrix.mat4 A matrix

View Source Math/Frustum.js, line 31