VRageMath.BoundingFrustumExtensions.ToBoundingSphere
Morten Aune Lyrstad edited this page Apr 16, 2022
·
19 revisions
← 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
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!