mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-14 19:11:36 +08:00
Merge branch '3.8-beta' of https://github.com/EsotericSoftware/spine-runtimes into 3.8-beta
This commit is contained in:
commit
8d52356475
@ -152,8 +152,8 @@ namespace Spine {
|
||||
if (parent == null) { // Root bone.
|
||||
float rotationY = rotation + 90 + shearY, sx = skeleton.scaleX, sy = skeleton.scaleY;
|
||||
a = MathUtils.CosDeg(rotation + shearX) * scaleX * sx;
|
||||
b = MathUtils.CosDeg(rotationY) * scaleY * sy;
|
||||
c = MathUtils.SinDeg(rotation + shearX) * scaleX * sx;
|
||||
b = MathUtils.CosDeg(rotationY) * scaleY * sx;
|
||||
c = MathUtils.SinDeg(rotation + shearX) * scaleX * sy;
|
||||
d = MathUtils.SinDeg(rotationY) * scaleY * sy;
|
||||
worldX = x * sx + skeleton.x;
|
||||
worldY = y * sy + skeleton.y;
|
||||
|
||||
@ -114,8 +114,8 @@ public class Bone implements Updatable {
|
||||
Skeleton skeleton = this.skeleton;
|
||||
float rotationY = rotation + 90 + shearY, sx = skeleton.scaleX, sy = skeleton.scaleY;
|
||||
a = cosDeg(rotation + shearX) * scaleX * sx;
|
||||
b = cosDeg(rotationY) * scaleY * sy;
|
||||
c = sinDeg(rotation + shearX) * scaleX * sx;
|
||||
b = cosDeg(rotationY) * scaleY * sx;
|
||||
c = sinDeg(rotation + shearX) * scaleX * sy;
|
||||
d = sinDeg(rotationY) * scaleY * sy;
|
||||
worldX = x * sx + skeleton.x;
|
||||
worldY = y * sy + skeleton.y;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user