fromTransformation

fun fromTransformation(transformation: Matrix4, result: BoundingSphere? = definedExternally): BoundingSphere(source)

Computes a tight-fitting bounding sphere enclosing the provided affine transformation.

Return

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

Parameters

transformation

The affine transformation.

result

The object onto which to store the result.

See also