Re: [css-transforms-1] [css-transforms-2] Quaternion rotation when one angle is 0

2015-08-21 Thread Tab Atkins Jr.
On Fri, Aug 21, 2015 at 3:22 PM, Shane Stephens wrote: > Hi list, > > When interpolating between rotations with different axis alignment, we > always fall back on matrix decomposition. > > However, if one of the angles is 0, then the resulting behavior is that the > rotation axis snaps immediately

[css-transforms-1] [css-transforms-2] Quaternion rotation when one angle is 0

2015-08-21 Thread Shane Stephens
Hi list, When interpolating between rotations with different axis alignment, we always fall back on matrix decomposition. However, if one of the angles is 0, then the resulting behavior is that the rotation axis snaps immediately to the other axis. So for example, if I transition transform: rotat