Matrix fix (#4675)
* Fixed nested stencil masks not rendering correctly. * Fixed jslint errors. * Documented the changes. * Fixed Matrix.setTransform gives different result from Transform.updateLocalTransform. Return rotation instead of skew if skewX+skewY is slightly below 360 degrees. * Reset rotation when there is skew. * Added test case for setTransform->decompose. * 2 * Math.PI -> PI_2 |
---|
|
src/core/math/Matrix.js |
---|
test/core/Matrix.js |
---|