Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

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