mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-14 02:58:44 +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;
|
||||
pc = temp;
|
||||
|
||||
if (psx < 0) r = PI - r;
|
||||
if (psx < 0) r = -r;
|
||||
cos = MathUtils.cosDeg(-r);
|
||||
sin = MathUtils.sinDeg(-r);
|
||||
temp = pa * cos + pb * sin;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user