Okay  but suffers Gimbal Lock I wanted to use this in my car  in landscape mode  but there is a nasty Gimbal lock issue that causes the 'model' to flip over when tilted beyond vertical. Author should look at using Quaternions rather than Euler angles. Tried various options but nothing helped...
March 07 2014