/// <summary> /// Test for the intersection of this plane with this Triangle. /// </summary> /// <param name="plane"></param> /// <returns></returns> public bool Intersect(Plane plane) { return(Triangle.Intersect(plane, this.vert0, this.vert1, this.vert2)); }
/// <summary> /// Tests for a intersection bewteen this Ray and this Triangle. /// </summary> /// <param name="ray"></param> /// <returns></returns> public bool Intersect(Ray ray) { float t; return(Triangle.Intersect(ray, this.vert0, this.vert1, this.vert2, out t)); }