Beispiel #1
0
        public static __ftype__ DistanceFast(this __type__ r1, __type__ r2)
        {
            var d = Dot(r1, r2);

            return(2 * Fun.AcosClamped((d < 0) ? -d : d));
        }