implemented axis parameter on rotationAngle