Пример #1
0
        //plus distance of each joint of 2 bones.
        public static Double Bone_Compare(BoneKeyData bkd0, BoneKeyData bkd1)
        {
            double an = new double();

            an  = bkd0.PrevJoint.DistanceTo(bkd1.PrevJoint);
            an += bkd0.NextJoint.DistanceTo(bkd1.NextJoint);
            return(an);
        }
Пример #2
0
 public static void Bone_Normalized(ref BoneKeyData bkd, float changing_parameters)
 {
     bkd.NextJoint *= changing_parameters;
     bkd.PrevJoint *= changing_parameters;
 }