Add maximum rotation constant.

Signed-off-by: Sam Phippen <samphippen@googlemail.com>