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