BoundingSphere.CreateMerged Method (BoundingSphere, BoundingSphere)

Creates a BoundingSphere that contains the two specified BoundingSphere instances.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static BoundingSphere CreateMerged (
         BoundingSphere original,
         BoundingSphere additional
)

Parameters

Return Value

The created BoundingSphere.

See Also

Reference

BoundingSphere Structure
BoundingSphere Members
Microsoft.Xna.Framework Namespace

Programming Guide

How to: Position the Camera to View All Objects in a Scene

Platforms

Xbox 360, Windows XP SP2, Windows Vista