예제 #1
0
        // Token: 0x06000396 RID: 918 RVA: 0x0000FB5C File Offset: 0x0000DD5C
        public static PlaneSideClassification SideClassification(this Plane3 plane, AxisAlignedBox3 axisAlignedBox)
        {
            Box3 box = new Box3(axisAlignedBox.Center, UnitVector3.UnitX, UnitVector3.UnitY, UnitVector3.UnitZ, axisAlignedBox.ExtentX, axisAlignedBox.ExtentY, axisAlignedBox.ExtentZ);
            IntersectionPlane3Box3 intersectionPlane3Box = new IntersectionPlane3Box3(plane, box);

            return(intersectionPlane3Box.SideClassification());
        }
예제 #2
0
        // Token: 0x06000395 RID: 917 RVA: 0x0000FB0C File Offset: 0x0000DD0C
        public static bool Intersects(this Plane3 plane, AxisAlignedBox3 axisAlignedBox)
        {
            Box3 box = new Box3(axisAlignedBox.Center, UnitVector3.UnitX, UnitVector3.UnitY, UnitVector3.UnitZ, axisAlignedBox.ExtentX, axisAlignedBox.ExtentY, axisAlignedBox.ExtentZ);
            IntersectionPlane3Box3 intersectionPlane3Box = new IntersectionPlane3Box3(plane, box);

            return(intersectionPlane3Box.Test());
        }
예제 #3
0
        // Token: 0x06000394 RID: 916 RVA: 0x0000FAEC File Offset: 0x0000DCEC
        public static PlaneSideClassification SideClassification(this Plane3 plane, Box3 box)
        {
            IntersectionPlane3Box3 intersectionPlane3Box = new IntersectionPlane3Box3(plane, box);

            return(intersectionPlane3Box.SideClassification());
        }
예제 #4
0
        // Token: 0x06000393 RID: 915 RVA: 0x0000FACC File Offset: 0x0000DCCC
        public static bool Intersects(this Plane3 plane, Box3 box)
        {
            IntersectionPlane3Box3 intersectionPlane3Box = new IntersectionPlane3Box3(plane, box);

            return(intersectionPlane3Box.Test());
        }