// Token: 0x06000447 RID: 1095 RVA: 0x00013838 File Offset: 0x00011A38 public static bool Intersects(this Triangle3 triangle, AxisAlignedBox3 axisAlignedBox) { Box3 box = new Box3(axisAlignedBox.Center, UnitVector3.UnitX, UnitVector3.UnitY, UnitVector3.UnitZ, axisAlignedBox.ExtentX, axisAlignedBox.ExtentY, axisAlignedBox.ExtentZ); IntersectionTriangle3Box3 intersectionTriangle3Box = new IntersectionTriangle3Box3(triangle, box); return(intersectionTriangle3Box.Test()); }
// Token: 0x06000445 RID: 1093 RVA: 0x000137CC File Offset: 0x000119CC public static bool Intersects(this Triangle3 triangle, Box3 box) { IntersectionTriangle3Box3 intersectionTriangle3Box = new IntersectionTriangle3Box3(triangle, box); return(intersectionTriangle3Box.Test()); }