Contents

init(center:radius:)

Creates a bounding sphere with the given center and radius.

Declaration

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

Parameters

  • center:

    The center of the bounding sphere in model space.

  • radius:

    The radius of the bounding sphere.

See Also

Creating a bounding volume