fromBoundingSpheres

fun fromBoundingSpheres(boundingSpheres: ReadonlyArray<BoundingSphere>? = definedExternally, result: BoundingSphere? = definedExternally): BoundingSphere(source)

Computes a tight-fitting bounding sphere enclosing the provided array of bounding spheres.

Return

The modified result parameter or a new BoundingSphere instance if none was provided.

Parameters

boundingSpheres

The array of bounding spheres.

result

The object onto which to store the result.

See also