/// <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.PlaneIntersectsBox(ref plane, ref this)); }
/// <summary> /// Determines if there is an intersection between the current object and a <see cref="MyBoundingBox"/>. /// </summary> /// <param name="box">The box to test.</param> /// <returns>Whether the two objects intersected.</returns> public MyPlaneIntersectionType Intersects(ref MyBoundingBox box) { return(MyCollision.PlaneIntersectsBox(ref this, ref box)); }