Exemplo n.º 1
0
        // Token: 0x06000122 RID: 290 RVA: 0x000062FC File Offset: 0x000044FC
        public static Vector3 ClosestPointTo(this Ray3 ray3, Ray3 other)
        {
            DistanceRay3Ray3 distanceRay3Ray = new DistanceRay3Ray3(ray3, other);

            return(distanceRay3Ray.ClosestPoint0);
        }
Exemplo n.º 2
0
        // Token: 0x06000123 RID: 291 RVA: 0x0000631C File Offset: 0x0000451C
        public static Segment3 ShortestSegmentTo(this Ray3 ray3, Ray3 other)
        {
            DistanceRay3Ray3 distanceRay3Ray = new DistanceRay3Ray3(ray3, other);

            return(new Segment3(distanceRay3Ray.ClosestPoint0, distanceRay3Ray.ClosestPoint1));
        }
Exemplo n.º 3
0
        // Token: 0x06000121 RID: 289 RVA: 0x000062DC File Offset: 0x000044DC
        public static double DistanceTo(this Ray3 ray3, Ray3 other)
        {
            DistanceRay3Ray3 distanceRay3Ray = new DistanceRay3Ray3(ray3, other);

            return(distanceRay3Ray.Distance);
        }