Skip to content

VRageMath.BoundingFrustumExtensions.ToBoundingSphere

Morten Aune Lyrstad edited this page Apr 16, 2022 · 19 revisions

IndexNamespace IndexBoundingFrustumExtensions

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

BoundingSphere

Parameters

Clone this wiki locally