inline keyword for rotationDirection() #48