Class: Frustum

Frustum

new Frustum()

平截头体

Members Show Inherited

Name Type Default Description
className String Frustum

类名

isFrustum Boolean true

Methods Show Inherited

Copy the values from one frustum to this

Name Type Description
m Frustum

the source frustum

Returns:
Type Description
Frustum this

Creates a new frustum initialized with values from this frustum

Returns:
Type Description
Frustum a new Frustum

fromMatrix(mat){Frustum}

fromMatrix

Name Type Description
mat Matrix4
Returns:
Type Description
Frustum this

intersectsSphere(sphere){Boolean}

与球体相交

Name Type Description
sphere Sphere
Returns:
Type Description
Boolean 是否相交