Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.BoundingFrustumExtensions.ToBoundingSphere

Morten Aune Lyrstad edited this page Apr 16, 2022 · 20 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