import Plane from './Plane'; import * as vec3 from '../glmatrix/vec3'; import Matrix4 from './Matrix4'; import BoundingBox from './BoundingBox'; /** * @constructor * @alias clay.Frustum */ declare class Frustum { planes: Plane[]; vertices: vec3.Vec3Array[]; boundingBox: BoundingBox; constructor(); /** * Set frustum from a projection matrix * @param projectionMatrix */ setFromProjection(projectionMatrix: Matrix4): void; /** * Apply a affine transform matrix and set to the given bounding box * @function * @param {clay.BoundingBox} * @param {clay.Matrix4} * @return {clay.BoundingBox} */ getTransformedBoundingBox(bbox: BoundingBox, matrix: Matrix4): BoundingBox; } export default Frustum;