VRageMath.BoundingFrustumExtensions.ToBoundingSphere - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← BoundingFrustumExtensions
public static BoundingSphere ToBoundingSphere(this BoundingFrustum frustum, Vector3[] corners)
Creates bounding sphere from bounding frustum. Implementation taken from XNA source, replace IEnumerable with array
BoundingSphere
- BoundingFrustum frustum
- Vector3[] corners