I'm working on a wpf application using kinect for windows sdk ver 1.5 in which the joints orientation is supported. I calculated the angles between the skeleton joints in which the angle is calculated based on the parent bone as shown in the attached images, the problem is that the angle is calculated without a sign determining its direction whether its upwards "+ve" or "-ve" downwards, and I need to detect this or put a sign for example +ve if upwards and -ve if downwards, As shown in the attached pics the first pic shows the angle = 4, then if i moved upwards the angle will be 45 and if i moved downwards the angle will be 48 not -48, all what i need to know is how to differentiate and the direction of movement in which the angle will be +angle if upwards and -ve angle if downwards. here is the link of the images"you need to press next to the three pics"
http://imageshack.us/photo/my-images/267/64483060.png
Many thanks