// Token: 0x0600036F RID: 879 RVA: 0x0000ECF0 File Offset: 0x0000CEF0 public static Vector3?IntersectionWith(this Line3 line, Triangle3 triangle3) { IntersectionLine3Triangle3 intersectionLine3Triangle = new IntersectionLine3Triangle3(line, triangle3); if (intersectionLine3Triangle.Find() && intersectionLine3Triangle.IntersectionType != Intersection.Type.IT_EMPTY) { return(new Vector3?(line.Origin + intersectionLine3Triangle.LineParameter * line.Direction)); } return(null); }
// Token: 0x0600036E RID: 878 RVA: 0x0000ECD0 File Offset: 0x0000CED0 public static bool Intersects(this Line3 line, Triangle3 triangle) { IntersectionLine3Triangle3 intersectionLine3Triangle = new IntersectionLine3Triangle3(line, triangle); return(intersectionLine3Triangle.Test()); }