Method Encapsulate
Encapsulate(MinMaxAABB)
Encapsulates the given AABB.
Declaration
public void Encapsulate(MinMaxAABB aabb)
Parameters
| Type | Name | Description |
|---|---|---|
| MinMaxAABB | aabb | AABB to encapsulate. |
Remarks
Modifies this AABB so that it contains the given AABB. If the given AABB is already contained by this AABB, then this AABB doesn't change.
See Also
Encapsulate(float3)
Encapsulate the given point.
Declaration
public void Encapsulate(float3 point)
Parameters
| Type | Name | Description |
|---|---|---|
| float3 | point | Point to encapsulate. |
Remarks
Modifies this AABB so that it contains the given point. If the given point is already contained by this AABB, then this AABB doesn't change.