Constructor MinMaxAABB
MinMaxAABB(float3, float3)
Constructs the AABB with the given minimum and maximum.
Declaration
public MinMaxAABB(float3 min, float3 max)
Parameters
Type | Name | Description |
---|---|---|
float3 | min | Minimum point inside AABB. |
float3 | max | Maximum point inside AABB. |
Remarks
If you have a center and extents, you can call CreateFromCenterAndExtents(float3, float3) or CreateFromCenterAndHalfExtents(float3, float3) to create the AABB.