-
Notifications
You must be signed in to change notification settings - Fork 3
AABB.API
Henryk Wollik edited this page Jul 28, 2014
·
1 revision
Representation of an axis aligned bounding box,
- Source:
-
center :Vec3
-
The center of the box.
- Source:
-
The 8 defining points of the box.
- Array
- Source:
-
size :Vec3
-
The size of the box. (max - min)
- Source:
-
<inner> max :Vec3
-
The maximal point
- Source:
-
<inner> min :Vec3
-
The minimal point.
- Source:
-
include(aabb) → {AABB}
-
Adjusts the box size to include anoterh box.
Name Type Description aabb
AABB Another box
- Source:
- Type
- AABB
-
set(aabb) → {AABB}
-
Sets box from another box
Name Type Description aabb
AABB Another box
- Source:
- Type
- AABB
-
setFromPoints(points) → {AABB}
-
Returns an axis aligned bounding box from a set of points.
Name Type Description points
Vec3[] N points
- Source:
- Type
- AABB
-
setFromPointsf(points) → {AABB}
-
Returns an axis aligned bounding box from a set of points.
Name Type Description points
Number[] N points
- Source:
- Type
- AABB