Ejemplo n.º 1
0
 /// <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>
 /// <param name="line">When the method completes, contains the line of intersection
 /// as a <see cref="MyRay"/>, or a zero ray if there was no intersection.</param>
 /// <returns>Whether the two objects intersected.</returns>
 public bool Intersects(ref MyPlane plane, out MyRay line)
 {
     return(MyCollision.PlaneIntersectsPlane(ref this, ref plane, out line));
 }