Contents

init(center:fullExtents:)

Creates a bounding box with the given center and full extents, with a circumscribed sphere.

Declaration

init(center: SIMD3<Float>, fullExtents: SIMD3<Float>)

Parameters

  • center:

    The center of the bounding box in model space.

  • fullExtents:

    The full extents of the bounding box along each axis.

See Also

Creating a bounding volume