DragonBones / Tools

DragonBones Tools
MIT License
141 stars 75 forks source link

fix rotateFrame.skew #13

Closed Tri-body closed 5 years ago

Tri-body commented 5 years ago

修正某些情况下skew转换不正确的问题。

例子: 当 frame.transform.skX = 208.09, frame.transform.skY=28.089999999999996

skew = geom.normalizeDegree( frame.transform.skX ) - geom.normalizeDegree(frame.transform.skY); // -180, 显示异常

skew = geom.normalizeDegree(frame.transform.skX - frame.transform.skY); // 180, 显示正常