Exemplo n.º 1
0
 /// <summary>
 /// Check if this <see cref="Plane"/> intersects a <see cref="BoundingFrustum"/>.
 /// </summary>
 /// <param name="frustum">The <see cref="BoundingFrustum"/> to test for intersection.</param>
 /// <returns>
 /// The type of intersection of this <see cref="Plane"/> with the specified <see cref="BoundingFrustum"/>.
 /// </returns>
 public PlaneIntersectionType Intersects(BoundingFrustum frustum)
 {
     return(frustum.Intersects(this));
 }
Exemplo n.º 2
0
 /// <summary>
 ///   Check if this <see cref="BoundingBox"/> intersects a <see cref="BoundingFrustum"/>.
 /// </summary>
 /// <param name="frustum">The <see cref="BoundingFrustum"/> to test for intersection.</param>
 /// <returns>
 ///   <code>true</code> if this <see cref="BoundingBox"/> intersects <paramref name="frustum"/>,
 ///   <code>false</code> if it does not.
 /// </returns>
 public bool Intersects(BoundingFrustum frustum)
 {
     return(frustum.Intersects(this));
 }