Re: [csswg-drafts] [css-transforms-2] Interpolation of rotate3D should convert to quaternions instead of a matrix. (#9278)

I am also working on the Gecko bug for this: https://phabricator.services.mozilla.com/D186998. Gecko also converts the `axis, angle` into the quaternion vector directly and then apply slerp. We use this way because we would like to avoid the redundant operations, e.g. convert rotate3d() into 3d matrix, and decompose it. Converting the `axis, angle` pair into quaternion vector looks simpler.

However, quaternion vector works well only when the rotation angle is in `(-360deg, 360deg)`. Gecko has this bug and I'm fixing it.

-- 
GitHub Notification of comment by BorisChiou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9278#issuecomment-1700286786 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 31 August 2023 02:36:59 UTC