Merge pull request #2942 from ey6es/master

Fix arguments to applyRotationDelta.