Jason Gerecke 70bca4cc8a Properly rotate full [-pi, +pi] orientation range if available
The code currently in place assumes that orientation has a range
of [-pi/2, +pi/2] as may be found with a touch digitizer. However,
when used with a digitzer that can report the full [-pi, +pi] range
of orientations (e.g. a stylus) the calculations here are incorrect.

This patch checks if the post-rotation value is out of range for
the axis, and wraps it back around.

Change-Id: I03a22f7bf9526a5d995df1a18430d6dd24c6d6ee
2013-03-15 17:19:09 -07:00
..
2012-02-20 22:38:43 -08:00
2012-04-17 18:50:05 -07:00
2011-08-30 21:40:28 -07:00
2012-02-17 15:36:10 -08:00
2011-08-30 21:40:28 -07:00
2012-02-27 13:03:08 -08:00