예제 #1
0
        // Token: 0x06000369 RID: 873 RVA: 0x0000EAFC File Offset: 0x0000CCFC
        public static bool Intersects(this Line3 line, AxisAlignedBox3 axisAlignedBox)
        {
            Box3 box = new Box3(axisAlignedBox.Center, UnitVector3.UnitX, UnitVector3.UnitY, UnitVector3.UnitZ, axisAlignedBox.ExtentX, axisAlignedBox.ExtentY, axisAlignedBox.ExtentZ);
            IntersectionLine3Box3 intersectionLine3Box = new IntersectionLine3Box3(line, box);

            return(intersectionLine3Box.Test());
        }
예제 #2
0
        // Token: 0x06000366 RID: 870 RVA: 0x0000EA44 File Offset: 0x0000CC44
        public static bool Intersects(this Line3 line, Box3 box)
        {
            IntersectionLine3Box3 intersectionLine3Box = new IntersectionLine3Box3(line, box);

            return(intersectionLine3Box.Test());
        }