Show / Hide Table of Contents

Class BoundingFrustumExtensions

Inheritance
System.Object
BoundingFrustumExtensions
Namespace: VRageMath
Assembly: VRage.Math.dll
Syntax
public static class BoundingFrustumExtensions : Object

Methods

ToBoundingSphere(BoundingFrustum, Vector3[])

Creates bounding sphere from bounding frustum. Implementation taken from XNA source, replace IEnumerable with array

Declaration
public static BoundingSphere ToBoundingSphere(this BoundingFrustum frustum, Vector3[] corners)
Parameters
Type Name Description
BoundingFrustum frustum

The bounding frustum.

Vector3[] corners

Temporary memory to save corner when getting from frustum.

Returns
Type Description
BoundingSphere

BoundingSphere

☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾