/// <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; }
/// <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); }
/// <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); }
/// <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)); }