Example #1
0
 /// <summary>
 /// Determines if there is an intersection between the current object and a <see cref="BoundingBox" />.
 /// </summary>
 /// <param name="box">The box to test.</param>
 /// <returns>Whether the two objects intersected.</returns>
 public bool Intersects(ref BoundingBox box)
 {
     return(CollisionsHelper.BoxIntersectsSphere(ref box, ref this));
 }