Method ToAABB
ToAABB(Bounds)
Convert a Bounds struct to an AABB struct
Declaration
public static AABB ToAABB(this Bounds bounds)
Parameters
Type | Name | Description |
---|---|---|
Bounds | bounds | the Bounds struct to convert to an AABB struct |
Returns
Type | Description |
---|---|
AABB | An AABB struct that is the same as the bounds struct |