@esotericsoftware/spine-canvas 4.2.31 → 4.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7077,7 +7077,7 @@ var spine = (() => {
|
|
|
7077
7077
|
if (rotateOrShearX || scaleX) {
|
|
7078
7078
|
let ca = Math.atan2(bone.c, bone.a), c = 0, s = 0, mr = 0;
|
|
7079
7079
|
if (rotateOrShearX) {
|
|
7080
|
-
mr =
|
|
7080
|
+
mr = (this.data.rotate + this.data.shearX) * mix;
|
|
7081
7081
|
let dx = this.cx - bone.worldX, dy = this.cy - bone.worldY, r = Math.atan2(dy + this.ty, dx + this.tx) - ca - this.rotateOffset * mr;
|
|
7082
7082
|
this.rotateOffset += (r - Math.ceil(r * MathUtils.invPI2 - 0.5) * MathUtils.PI2) * i;
|
|
7083
7083
|
r = this.rotateOffset * mr + ca;
|
|
@@ -8055,8 +8055,8 @@ var spine = (() => {
|
|
|
8055
8055
|
x = 0;
|
|
8056
8056
|
y = 0;
|
|
8057
8057
|
rotate = 0;
|
|
8058
|
-
scaleX =
|
|
8059
|
-
shearX =
|
|
8058
|
+
scaleX = 0;
|
|
8059
|
+
shearX = 0;
|
|
8060
8060
|
step = 0;
|
|
8061
8061
|
inertia = 0;
|
|
8062
8062
|
strength = 0;
|