Beispiel #1
0
        // Token: 0x06000182 RID: 386 RVA: 0x000074B8 File Offset: 0x000056B8
        public static double SignedDistanceTo(this Rectangle3 rectangle, Plane3 plane)
        {
            DistancePlane3Rectangle3 distancePlane3Rectangle = new DistancePlane3Rectangle3(plane, rectangle);

            return(distancePlane3Rectangle.SignedDistance);
        }
Beispiel #2
0
        // Token: 0x0600010F RID: 271 RVA: 0x00005F24 File Offset: 0x00004124
        public static double DistanceTo(this Plane3 plane3, Rectangle3 rectangle3)
        {
            DistancePlane3Rectangle3 distancePlane3Rectangle = new DistancePlane3Rectangle3(plane3, rectangle3);

            return(distancePlane3Rectangle.Distance);
        }