Exemplo n.º 1
0
 /// <summary>
 /// Determines if there is an intersection between the current object and a <see cref="Plane" />.
 /// </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="Ray" />, or a zero ray if there was no intersection.</param>
 /// <returns>Whether the two objects intersected.</returns>
 public bool Intersects(ref Plane plane, out Ray line)
 {
     return(CollisionsHelper.PlaneIntersectsPlane(ref this, ref plane, out line));
 }