BoundingSphere
Mesh
Bounding
Description
class
BoundingSphere
Constructor
new
BoundingSphere
(minimum, maximum)
Parameters
Name
Type
Description
minimum
Vector3
maximum
Vector3
Members
minimum
:
Vector3
maximum
:
Vector3
center
:
Vector3
radius
:
number
centerWorld
:
Vector3
radiusWorld
:
number
Methods
isInFrustum(frustumPlanes)
→
boolean
Parameters
Name
Type
Description
frustumPlanes
Plane
[]
intersectsPoint(point)
→
boolean
Parameters
Name
Type
Description
point
Vector3
static Intersects(sphere0, sphere1)
→
boolean
Parameters
Name
Type
Description
sphere0
BoundingSphere
sphere1
BoundingSphere