コード例 #1
0
        public RuleEvaluation(Skeleton skeleton, StretchesStretchRule rule)
        {
            Rule = rule;
            CurrentSkeleton = skeleton;
            Joint1 = GetJointPosition(skeleton, rule.Joint1);
            Joint2 = GetJointPosition(skeleton, rule.Joint2);

            CalculateJointPositions();
            CalculateComparisonValues();
        }
コード例 #2
0
 public DistanceRuleEvaluation(Skeleton skeleton, StretchesStretchRule rule)
     : base(skeleton, rule)
 {
 }
コード例 #3
0
 public CompareRuleEvaluation(Skeleton skeleton, StretchesStretchRule rule)
     : base(skeleton, rule)
 {
 }