Property | Type | Description | |
---|---|---|---|
lowerBound | Vector2 | ||
upperBound | Vector2 |
Method | Description | |
---|---|---|
AABB ( Vector2 min, Vector2 max ) : System | ||
AABB ( Vector2 center, float width, float height ) : System | ||
combine ( |
Combine an AABB into this one.
|
|
combine ( |
Combine two AABBs into this one.
|
|
contains ( |
Does this aabb contain the provided AABB.
|
|
contains ( Vector2 &point ) : bool |
Determines whether the AAABB contains the specified point.
|
|
isValid ( ) : bool |
Verify that the bounds are sorted. And the bounds are valid numbers (not NaN).
|
|
rayCast ( |
Raycast against this AABB using the specificed points and maxfraction (found in input)
|
|
testOverlap ( |
Test if the two AABBs overlap.
|
public AABB ( Vector2 min, Vector2 max ) : System | ||
min | Vector2 | |
max | Vector2 | |
return | System |
public AABB ( Vector2 center, float width, float height ) : System | ||
center | Vector2 | |
width | float | |
height | float | |
return | System |
public combine ( |
||
aabb1 | The aabb1. | |
aabb2 | The aabb2. | |
return | void |
public contains ( Vector2 &point ) : bool | ||
point | Vector2 | The point. |
return | bool |
public rayCast ( |
||
output | Output. | |
input | Input. | |
doInteriorCheck | bool | If set to |
return | bool |
public static testOverlap ( |
||
a | The first AABB. | |
b | The second AABB. | |
return | bool |