示例#1
0
 private static bool RightOfElbowSection(this JointType hand, Body body)
 {
     return(body.Joints[hand].Position.X - body.Joints[hand.Elbow()].Position.X > Properties.Settings.Default.ElbowRightTolerance);
 }
示例#2
0
 private static bool BelowElbowSection(this JointType hand, Body body)
 {
     return(body.Joints[hand].Position.Y - body.Joints[hand.Elbow()].Position.Y < Properties.Settings.Default.ElbowBelowTolerance);
 }