Ejemplo n.º 1
0
 /// <summary>
 /// Determines whether the current objects contains a
 /// <see cref="BoundingSphere"/>.
 /// </summary>
 /// <param name="sphere">The sphere to test.</param>
 /// <returns>The type of containment the two objects have.</returns>
 public ContainmentType Contains(ref BoundingSphere sphere)
 {
     return(Collision.BoxContainsSphere(ref this, ref sphere));
 }