Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CreateFromFrustum()

static BoundingSphere Microsoft.Xna.Framework.BoundingSphere.CreateFromFrustum ( BoundingFrustum frustum)
inlinestatic

Definition at line 225 of file BoundingSphere.cs.

226 {
227 if (frustum == null)
228 {
229 throw new ArgumentNullException("frustum");
230 }
231 return CreateFromPoints(frustum.cornerArray);
232 }
static BoundingSphere CreateFromPoints(IEnumerable< Vector3 > points)

References Microsoft.Xna.Framework.BoundingSphere.CreateFromPoints().