示例#1
0
        // Token: 0x06000128 RID: 296 RVA: 0x000063D4 File Offset: 0x000045D4
        public static Vector3 ClosestPointTo(this Ray3 ray3, Segment3 segment3)
        {
            DistanceRay3Segment3 distanceRay3Segment = new DistanceRay3Segment3(ray3, segment3);

            return(distanceRay3Segment.ClosestPointOnRay);
        }
示例#2
0
        // Token: 0x06000129 RID: 297 RVA: 0x000063F4 File Offset: 0x000045F4
        public static Segment3 ShortestSegmentTo(this Ray3 ray3, Segment3 segment3)
        {
            DistanceRay3Segment3 distanceRay3Segment = new DistanceRay3Segment3(ray3, segment3);

            return(new Segment3(distanceRay3Segment.ClosestPointOnRay, distanceRay3Segment.ClosestPointOnSegment));
        }
示例#3
0
        // Token: 0x06000127 RID: 295 RVA: 0x000063B4 File Offset: 0x000045B4
        public static double DistanceTo(this Ray3 ray3, Segment3 segment3)
        {
            DistanceRay3Segment3 distanceRay3Segment = new DistanceRay3Segment3(ray3, segment3);

            return(distanceRay3Segment.Distance);
        }