Пример #1
0
        // Token: 0x060001E8 RID: 488 RVA: 0x00008CD0 File Offset: 0x00006ED0
        public static Segment3 ShortestSegmentTo(this Triangle3 triangle3, Triangle3 other)
        {
            DistanceTriangle3Triangle3 distanceTriangle3Triangle = new DistanceTriangle3Triangle3(triangle3, other);

            return(new Segment3(distanceTriangle3Triangle.ClosestPoint0, distanceTriangle3Triangle.ClosestPoint1));
        }
Пример #2
0
        // Token: 0x060001E6 RID: 486 RVA: 0x00008C90 File Offset: 0x00006E90
        public static double DistanceTo(this Triangle3 triangle3, Triangle3 other)
        {
            DistanceTriangle3Triangle3 distanceTriangle3Triangle = new DistanceTriangle3Triangle3(triangle3, other);

            return(distanceTriangle3Triangle.Distance);
        }
Пример #3
0
        // Token: 0x060001E7 RID: 487 RVA: 0x00008CB0 File Offset: 0x00006EB0
        public static Vector3 ClosestPointTo(this Triangle3 triangle3, Triangle3 other)
        {
            DistanceTriangle3Triangle3 distanceTriangle3Triangle = new DistanceTriangle3Triangle3(triangle3, other);

            return(distanceTriangle3Triangle.ClosestPoint0);
        }