getRawDirection returns a PVector which is a vector pointing in the direction of the fingers from the palm. But getDirection returns a PVector that contains the pitch, roll and yaw in the PVector's x, y and z coordinates. I think this is a confusing interface. I think that getRawDirection should be renamed getDirection and getDirection should be called something like getEulerOrientation.