private void updateMirroredJointPositions () {
		switch (mirrorTherapy) {
			case MIRROR_THERAPY_LEFT:
				// mirror left elbow to right elbow
				joint[RIGHT_ELBOW].set(math.mirrorJointVector(joint[LEFT_ELBOW]));
				jointDelta[RIGHT_ELBOW] = jointDelta[LEFT_ELBOW];
				jointConfidence[RIGHT_ELBOW] = jointConfidence[LEFT_ELBOW];
				// mirror left hand to right hand
				joint[RIGHT_HAND].set(math.mirrorJointVector(joint[LEFT_HAND]));
				jointDelta[RIGHT_HAND] = jointDelta[LEFT_HAND];
				jointConfidence[RIGHT_HAND] = jointConfidence[LEFT_HAND];
				// update arm vectors
				rUpperArm = PVector.sub(joint[RIGHT_ELBOW],joint[RIGHT_SHOULDER]);
				rLowerArm = PVector.sub(joint[RIGHT_HAND],joint[RIGHT_ELBOW]);
				break;
			case MIRROR_THERAPY_RIGHT:
				// mirror right elbow to left elbow
				joint[LEFT_ELBOW].set(math.mirrorJointVector(joint[RIGHT_ELBOW]));
				jointDelta[LEFT_ELBOW] = jointDelta[RIGHT_ELBOW];
				jointConfidence[LEFT_ELBOW] = jointConfidence[RIGHT_ELBOW];
				// mirror right hand to left hand
				joint[LEFT_HAND].set(math.mirrorJointVector(joint[RIGHT_HAND]));
				jointDelta[LEFT_HAND] = jointDelta[RIGHT_HAND];
				jointConfidence[LEFT_HAND] = jointConfidence[RIGHT_HAND];
				// update arm vectors
				lUpperArm = PVector.sub(joint[LEFT_ELBOW],joint[LEFT_SHOULDER]);
				lLowerArm = PVector.sub(joint[LEFT_HAND],joint[LEFT_ELBOW]);
				break;
		}
	}