Class: AABB3
new AABB3(Vec3, Vec3)
Parameters:
| Name |
Type |
Description |
Vec3 |
|
min |
Vec3 |
|
max |
- Source:
Members
-
<static> this.max
-
Properties:
| Name |
Type |
Description |
Vec3 |
|
max |
- Source:
-
<static> this.min
-
Properties:
| Name |
Type |
Description |
Vec3 |
|
min |
- Source:
Methods
-
<static> clear()
-
- Source:
Returns:
this
-
<static> clone()
-
- Source:
Returns:
AABB3
-
<static> contains(Vec3)
-
Parameters:
| Name |
Type |
Description |
Vec3 |
|
point |
- Source:
Returns:
Boolean
-
<static> copy(AABB3)
-
Parameters:
| Name |
Type |
Description |
AABB3 |
|
other |
- Source:
Returns:
this
-
<static> expandPoint(Vec3)
-
Parameters:
| Name |
Type |
Description |
Vec3 |
|
v |
- Source:
Returns:
this
-
<static> expandScalar(Number)
-
Parameters:
| Name |
Type |
Description |
Number |
|
s |
- Source:
Returns:
this
-
<static> expandVec(Vec3)
-
Parameters:
| Name |
Type |
Description |
Vec3 |
|
v |
- Source:
Returns:
this
-
<static> fromCenterSize(Vec3, Vec3)
-
Parameters:
| Name |
Type |
Description |
Vec3 |
|
center |
Vec3 |
|
size |
- Source:
Returns:
this
-
<static> fromJSON(Object)
-
Parameters:
| Name |
Type |
Description |
Object |
|
json |
- Source:
Returns:
this
-
<static> fromPoints(Array)
-
Parameters:
| Name |
Type |
Description |
Array |
|
points |
- Source:
Returns:
this
-
<static> intersects(AABB3)
-
Parameters:
| Name |
Type |
Description |
AABB3 |
|
other |
- Source:
Returns:
Boolean
-
<static> set(Vec3, Vec3)
-
Parameters:
| Name |
Type |
Description |
Vec3 |
|
min |
Vec3 |
|
max |
- Source:
Returns:
this
-
<static> toJSON()
-
- Source:
Returns:
Object
-
<static> toString()
-
- Source:
Returns:
String
-
<static> union(AABB3)
-
Parameters:
| Name |
Type |
Description |
AABB3 |
|
aabb |
- Source:
Returns:
this