Skip to content

Commit 3fd5fc6

Browse files
committed
Branch: special-case-zero-angles
1 parent 035310e commit 3fd5fc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-transforms-2/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,7 @@ Two transform functions with the same name and the same number of arguments are
11031103

11041104
The transform functions <<matrix()>>, ''matrix3d()'' and ''perspective()'' get converted into 4x4 matrices first and interpolated as defined in section <a href="#matrix-interpolation">Interpolation of Matrices</a> afterwards.
11051105

1106-
For interpolations with the primitive ''rotate3d()'', the direction vectors of the transform functions get normalized first. If the normalized vectors are equal, the rotation angle gets interpolated numerically. Otherwise the transform functions get converted into 4x4 matrices first and interpolated as defined in section <a href="#matrix-interpolation">Interpolation of Matrices</a> afterwards.
1106+
For interpolations with the primitive ''rotate3d()'', the direction vectors of the transform functions get normalized first. If the normalized vectors are not equal and both rotation angles are non-zero the transform functions get converted into 4x4 matrices first and interpolated as defined in section <a href="#matrix-interpolation">Interpolation of Matrices</a> afterwards. Otherwise the rotation angle gets interpolated numerically and the rotation vector of the non-zero angle is used or (0, 0, 1) if both angles are zero.
11071107

11081108
Addition and accumulation of transform lists {#combining-transform-lists}
11091109
============================================

0 commit comments

Comments
 (0)