mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Fixed disable rotation inheritance.
This commit is contained in:
parent
cf01d47796
commit
d70c1da866
@ -171,7 +171,7 @@ public class Bone implements Updatable {
|
|||||||
pd = pc * zb + pd * zd;
|
pd = pc * zb + pd * zd;
|
||||||
pc = temp;
|
pc = temp;
|
||||||
|
|
||||||
if (psx < 0) r = PI - r;
|
if (psx < 0) r = -r;
|
||||||
cos = MathUtils.cosDeg(-r);
|
cos = MathUtils.cosDeg(-r);
|
||||||
sin = MathUtils.sinDeg(-r);
|
sin = MathUtils.sinDeg(-r);
|
||||||
temp = pa * cos + pb * sin;
|
temp = pa * cos + pb * sin;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user