示例#1
0
 public static void Finger_Normalized(ref FingerKeyData fkd, float changing_parameters)
 {
     for (int i = 0; i < 4; i++)
     {
         Bone_Normalized(ref fkd.Bone_[i], changing_parameters);
     }
     fkd.Length      *= changing_parameters;
     fkd.TipPosition *= changing_parameters;
 }
示例#2
0
        //plus distance of each bone of 2 fingers.
        public static Double Finger_Compare(FingerKeyData fkd0, FingerKeyData fkd1)
        {
            double an = new double();

            for (int i = 0; i < 4; i++)
            {
                an += Bone_Compare(fkd0.Bone_[i], fkd1.Bone_[i]);
            }
            return(an);
        }