/// <summary> /// Determines if there is an intersection between the current object and a <see cref="MyPlane"/>. /// </summary> /// <param name="plane">The plane to test.</param> /// <returns>Whether the two objects intersected.</returns> public MyPlaneIntersectionType Intersects(ref MyPlane plane) { return(MyCollision.PlaneIntersectsSphere(ref plane, ref this)); }
/// <summary> /// Determines if there is an intersection between the current object and a <see cref="MyBoundingSphere"/>. /// </summary> /// <param name="sphere">The sphere to test.</param> /// <returns>Whether the two objects intersected.</returns> public MyPlaneIntersectionType Intersects(ref MyBoundingSphere sphere) { return(MyCollision.PlaneIntersectsSphere(ref this, ref sphere)); }