Operator implicit operator
implicit operator MinMaxAABB(AABB)
Make a MinMaxAABB from an AABB (an AABB which has a center and extents)
Declaration
public static implicit operator MinMaxAABB(AABB aabb)
Parameters
Type | Name | Description |
---|---|---|
AABB | aabb | The AABB to convert to a MinMaxAABB |
Returns
Type | Description |
---|---|
MinMaxAABB | Returns the new AABB. |
implicit operator AABB(MinMaxAABB)
Make an AABB (an AABB which has a center and extents) from a MinMaxAABB
Declaration
public static implicit operator AABB(MinMaxAABB aabb)
Parameters
Type | Name | Description |
---|---|---|
MinMaxAABB | aabb | The MinMaxAABB to convert to an AABB |
Returns
Type | Description |
---|---|
AABB | Returns the new AABB. |