mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[as3] Port of commit ccc5b2f: Fixed root bone transform for skeleton. See #1379.
This commit is contained in:
parent
33dce937bf
commit
b500055baf
Binary file not shown.
@ -99,8 +99,8 @@ package spine {
|
||||
rotationY = rotation + 90 + shearY;
|
||||
var skeleton : Skeleton = _skeleton;
|
||||
this.a = MathUtils.cosDeg(rotation + shearX) * scaleX * sx;
|
||||
this.b = MathUtils.cosDeg(rotationY) * scaleY * sy;
|
||||
this.c = MathUtils.sinDeg(rotation + shearX) * scaleX * sx;
|
||||
this.b = MathUtils.cosDeg(rotationY) * scaleY * sx;
|
||||
this.c = MathUtils.sinDeg(rotation + shearX) * scaleX * sy;
|
||||
this.d = MathUtils.sinDeg(rotationY) * scaleY * sy;
|
||||
worldX = x * sx + skeleton.x;
|
||||
worldY = y * sy + skeleton.y;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user