Description
class BoundingInfo
Constructor
Parameters
Members
isLocked : boolean
diagonalLength : number
Gets the world distance between the min and max points of the bounding box
Methods
update(world) → void
Parameters
|
Name |
Type |
Description |
|
world |
Matrix |
|
centerOn(center, extend) → BoundingInfo
Recreate the bounding info to be centered around a specific point given a specific extend.
Parameters
|
Name |
Type |
Description |
|
center |
Vector3 |
New center of the bounding info |
|
extend |
Vector3 |
New extend of the bounding info |
isInFrustum(frustumPlanes) → boolean
Parameters
|
Name |
Type |
Description |
|
frustumPlanes |
Plane[] |
|
isCompletelyInFrustum(frustumPlanes) → boolean
Parameters
|
Name |
Type |
Description |
|
frustumPlanes |
Plane[] |
|
intersectsPoint(point) → boolean
Parameters
|
Name |
Type |
Description |
|
point |
Vector3 |
|
intersects(boundingInfo, precise) → boolean
Parameters
|
Name |
Type |
Description |
|
boundingInfo |
BoundingInfo |
|
|
precise |
boolean |
|