ToBoundingSphere
Summary
public static BoundingSphere ToBoundingSphere(this BoundingFrustum frustum, Vector3[] corners)
Creates bounding sphere from bounding frustum. Implementation taken from XNA source, replace IEnumerable with array
Returns
BoundingSphere
Parameters
- BoundingFrustum frustum
- Vector3[] corners