CLASSES
TagsA - Z

BoundingInfo

MeshBounding

Description

class BoundingInfo

Constructor

new BoundingInfo(minimum, maximum)

The Bounding Info constructor

Parameters

Name Type Description
minimum Vector3 The minimum of the bounding info
maximum Vector3 The maximum of the bounding info

Members

minimum : Vector3

The minimum of the bounding info

maximum : Vector3

The maximum of the bounding info

boundingBox : BoundingBox

The bounding box of the bounding info

boundingSphere : BoundingSphere

The bounding sphere of the bounding info

isLocked : boolean

Methods

update(world) → void

Parameters

Name Type Description
world Matrix

isInFrustum(frustumPlanes) → boolean

Check if the bounding

Parameters

Name Type Description
frustumPlanes Plane[]

isCompletelyInFrustum(frustumPlanes) → boolean

Parameters

Name Type Description
frustumPlanes Plane[]

intersectsPoint(point) → boolean

Check if the bounding sphere or the bounding box intersect the given point.

Parameters

Name Type Description
point Vector3 The point

intersects(boundingInfo, precise) → boolean

Parameters

Name Type Description
boundingInfo BoundingInfo The bounding info
precise boolean False : check only bounding volumes, true check point by point