AABB Class
Axis aligned bounding box class.
Constructor
AABB
(
-
[options]
Parameters:
-
[options]Object optional-
[upperBound]Array optional -
[lowerBound]Array optional
-
Methods
overlaps
(
Boolean
-
aabb
Returns true if the given AABB overlaps this AABB.
Parameters:
-
aabbAABB
Returns:
Boolean:
setFromPoints
(
-
points -
position -
quaternion -
skinSize
Set the AABB bounds from a set of points.
Parameters:
-
pointsArrayAn array of Vec3's.
-
positionVec3 -
quaternionQuaternion -
skinSizeNumber
Properties
lowerBound
Array
The lower bound of the bounding box.
upperBound
Array
The upper bound of the bounding box.
