|
@@ -188,14 +188,14 @@ package spine {
|
|
|
lb = MathUtils.cosDeg(90 + shearY) * scaleY;
|
|
|
lc = MathUtils.sinDeg(shearX) * scaleX;
|
|
|
ld = MathUtils.sinDeg(90 + shearY) * scaleY;
|
|
|
+ if (this.data.transformMode != TransformMode.noScaleOrReflection ? pa * pd - pb * pc < 0 : this.skeleton.flipX != this.skeleton.flipY) {
|
|
|
+ zb = -zb;
|
|
|
+ zd = -zd;
|
|
|
+ }
|
|
|
this.a = za * la + zb * lc;
|
|
|
this.b = za * lb + zb * ld;
|
|
|
this.c = zc * la + zd * lc;
|
|
|
- this.d = zc * lb + zd * ld;
|
|
|
- if (this.data.transformMode != TransformMode.noScaleOrReflection ? pa * pd - pb * pc < 0 : this.skeleton.flipX != this.skeleton.flipY) {
|
|
|
- this.b = -this.b;
|
|
|
- this.d = -this.d;
|
|
|
- }
|
|
|
+ this.d = zc * lb + zd * ld;
|
|
|
return;
|
|
|
}
|
|
|
}
|