I have 3 axis accelerometer and 3 axis orientation sensor in my device. So i can get 0 - 360 deg on X, Y and Z.
When I draw in GEM a rectangle, I am able to rotate it with each of 3 axes, but only separately. When I try it with all three axes together it has strange movements, so I guess it has something with gimbal lock.