wrong rotation

This commit is contained in:
yangxiao 2014-04-29 17:27:32 -07:00
parent f3f138368f
commit 3c9560017e
3 changed files with 3 additions and 3 deletions

View File

@ -1378,7 +1378,7 @@ const Matrix& Node::getNodeToParentTransform() const
}
if(_rotationX) {
Matrix rotX;
Matrix::createRotationY(CC_DEGREES_TO_RADIANS(_rotationX), &rotX);
Matrix::createRotationX(CC_DEGREES_TO_RADIANS(_rotationX), &rotX);
_transform = _transform * rotX;
}

2
plugin

@ -1 +1 @@
Subproject commit 660761aa976c7f84274765fba813c9c6d567a8ab
Subproject commit 547ce2ea62a220a419f5df6bc54ab609437e49f3

@ -1 +1 @@
Subproject commit 4f99d9a65e72e0c7cd86e7205b92729d2d764ef2
Subproject commit 22db42ddf57dd020f1e6084ff08dee8d9e2334ec