Fixed disable rotation inheritance.

This commit is contained in:
NathanSweet 2016-02-06 17:49:42 +01:00
parent cf01d47796
commit d70c1da866

View File

@ -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;