@esotericsoftware/spine-webgl 4.2.30 → 4.2.32
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.
package/dist/iife/spine-webgl.js
CHANGED
|
@@ -7117,7 +7117,7 @@ var spine = (() => {
|
|
|
7117
7117
|
if (rotateOrShearX || scaleX) {
|
|
7118
7118
|
let ca = Math.atan2(bone.c, bone.a), c = 0, s = 0, mr = 0;
|
|
7119
7119
|
if (rotateOrShearX) {
|
|
7120
|
-
mr =
|
|
7120
|
+
mr = (this.data.rotate + this.data.shearX) * mix;
|
|
7121
7121
|
let dx = this.cx - bone.worldX, dy = this.cy - bone.worldY, r = Math.atan2(dy + this.ty, dx + this.tx) - ca - this.rotateOffset * mr;
|
|
7122
7122
|
this.rotateOffset += (r - Math.ceil(r * MathUtils.invPI2 - 0.5) * MathUtils.PI2) * i;
|
|
7123
7123
|
r = this.rotateOffset * mr + ca;
|
|
@@ -8095,8 +8095,8 @@ var spine = (() => {
|
|
|
8095
8095
|
x = 0;
|
|
8096
8096
|
y = 0;
|
|
8097
8097
|
rotate = 0;
|
|
8098
|
-
scaleX =
|
|
8099
|
-
shearX =
|
|
8098
|
+
scaleX = 0;
|
|
8099
|
+
shearX = 0;
|
|
8100
8100
|
step = 0;
|
|
8101
8101
|
inertia = 0;
|
|
8102
8102
|
strength = 0;
|