Ejemplo n.º 1
0
 /// <summary>
 /// Checks whether the current BoundingFrustum intersects a BoundingSphere.
 /// </summary>
 /// <param name="sphere">The sphere.</param>
 /// <param name="result">Set to <c>true</c> if the current BoundingFrustum intersects a BoundingSphere.</param>
 public void Intersects(ref BoundingSphere sphere, out bool result)
 {
     result = Contains(ref sphere) != ContainmentType.Disjoint;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Determines the intersection relationship between the frustum and a bounding sphere.
 /// </summary>
 /// <param name="sphere">The sphere.</param>
 /// <param name="result">Type of the containment.</param>
 public void Contains(ref BoundingSphere sphere, out ContainmentType result)
 {
     result = Contains(ref sphere);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Checks whether the current BoundingFrustum intersects a BoundingSphere.
 /// </summary>
 /// <param name="sphere">The sphere.</param>
 /// <returns>Type of the containment</returns>
 public bool Intersects(ref BoundingSphere sphere)
 {
     return(Contains(ref sphere) != ContainmentType.Disjoint);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Determines the intersection relationship between the frustum and a bounding sphere.
 /// </summary>
 /// <param name="sphere">The sphere.</param>
 /// <returns>Type of the containment</returns>
 public ContainmentType Contains(BoundingSphere sphere)
 {
     return(Contains(ref sphere));
 }