internal double Match(SmothendSkeleton skeleton) // distance to other person { SkeletonPoint currentRoot = Position; SkeletonPoint otherRoot = skeleton.Positon; return(SkeletonMath.DistanceBetweenPoints(currentRoot, otherRoot)); }
internal double Match(SmothendSkeleton skeleton) // distance to other person { SkeletonPoint currentRoot = CurrentSkeleton.GetPosition(JointType.HipCenter); SkeletonPoint otherRoot = skeleton.GetPosition(JointType.HipCenter); return(SkeletonMath.DistanceBetweenPoints(currentRoot, otherRoot)); }