mirror of https://github.com/axmolengine/axmol.git
wrong rotation
This commit is contained in:
parent
f3f138368f
commit
3c9560017e
|
@ -1378,7 +1378,7 @@ const Matrix& Node::getNodeToParentTransform() const
|
||||||
}
|
}
|
||||||
if(_rotationX) {
|
if(_rotationX) {
|
||||||
Matrix rotX;
|
Matrix rotX;
|
||||||
Matrix::createRotationY(CC_DEGREES_TO_RADIANS(_rotationX), &rotX);
|
Matrix::createRotationX(CC_DEGREES_TO_RADIANS(_rotationX), &rotX);
|
||||||
_transform = _transform * rotX;
|
_transform = _transform * rotX;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
plugin
2
plugin
|
@ -1 +1 @@
|
||||||
Subproject commit 660761aa976c7f84274765fba813c9c6d567a8ab
|
Subproject commit 547ce2ea62a220a419f5df6bc54ab609437e49f3
|
|
@ -1 +1 @@
|
||||||
Subproject commit 4f99d9a65e72e0c7cd86e7205b92729d2d764ef2
|
Subproject commit 22db42ddf57dd020f1e6084ff08dee8d9e2334ec
|
Loading…
Reference in New Issue